feat: replace automatic ICDB maintenance with batch inspection
This commit is contained in:
1 parent
beb2b06fdf
commit
53118bae19
15 files changed
+397
-67
No files matched your search
@@ -256,7 +256,8 @@ def run_native_repair(target, root, *, mentor_bin='', timeout_seconds=300, progr
|
||||
maintenance_context=None, inspection_only=False, stop=None):
|
||||
"""Supervise the GUI on its own desktop; a repair timeout never kills it."""
|
||||
if stop is not None and stop.is_set():
|
||||
return {'status': 'CANCELLED', 'detail': '原生操作启动前已取消', 'release': {'safe_to_continue': True}}
|
||||
return {'status': 'CANCELLED', 'native_started': False,
|
||||
'detail': '原生操作启动前已取消', 'release': {'safe_to_continue': True}}
|
||||
from .desktop_worker import DesktopWorker
|
||||
root = Path(root)
|
||||
root.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
Reference in new issue
Block a user