feat(launcher): support registering existing offline clients without copying
This commit is contained in:
1 parent
7cb1011f0d
commit
cae69a6446
11 files changed
+107
-30
No files matched your search
@@ -88,7 +88,7 @@ async function install(request: InstallRequest, signal: AbortSignal, report: (pr
|
||||
: undefined;
|
||||
|
||||
report({ phase: 'backing-up', doneBytes: 0, totalBytes: 0, doneFiles: 0, totalFiles: 0 });
|
||||
const stockBackup = request.method === 'in-place' && stock.refresh
|
||||
const stockBackup = (request.method === 'in-place' || request.method === 'existing') && stock.refresh
|
||||
? await refreshStockBackup(copyPath)
|
||||
: await backUpStockFiles(copyPath);
|
||||
|
||||
|
||||
Reference in new issue
Block a user