fix: 将dp-dev加入更新检查白名单,修复设备一直误报有更新的问题

This commit is contained in:
mawei
2026-06-15 22:08:59 +08:00
parent 77120beecb
commit f60b02f960
+1 -1
View File
@@ -375,7 +375,7 @@ class Updater:
# Logic:
# 1. Allow exactly 'pre-build'
# 2. OR Allow if it parses as a version AND that version is >= 0.9.8
if name in ('testing', 'pre-build') or (m and tuple(map(int, m.groups())) >= (0, 9, 8)):
if name in ('testing', 'pre-build', 'dp-dev') or (m and tuple(map(int, m.groups())) >= (0, 9, 8)):
self.branches[name] = x.group('commit_sha')
cur_branch = self.get_branch(OVERLAY_MERGED)