fix(devices): safely reclaim obsolete managed tool versions (#12819)
This commit is contained in:
1 parent
61b25b88d7
commit
790be6d755
6 files changed
+325
-1
No files matched your search
@@ -125,6 +125,9 @@ else { const child=spawn(process.execPath,[path.join(path.dirname(process.argv[1
|
||||
);
|
||||
await NodeFSP.mkdir(NodePath.join(root, "hosts/one"), { recursive: true });
|
||||
await NodeFSP.writeFile(NodePath.join(root, "hosts/one/fail-start-once"), "");
|
||||
// Unavailable advisory bookkeeping must not prevent either helper from starting.
|
||||
await NodeFSP.writeFile(NodePath.join(root, "tools/.maintenance-lock"), "blocked");
|
||||
await NodeFSP.writeFile(NodePath.join(root, "tools/.users"), "unwritable lease directory");
|
||||
try {
|
||||
const [manual, concurrent] = await Promise.all([
|
||||
invoke("one", "start"),
|
||||
|
||||
Reference in new issue
Block a user