Updated Temp/Windows SelfUpdate

Bryan Roe committed Jun 9, 2021 at 14:08 UTC a937577f4ba03a4ae17ed9516196bdcafd3608b9
1 file changed +1 -1
agents/recoverycore.js
+1 -1
@@ -466,7 +466,7 @@ function windows_execve(name, agentfilename, sessionid) {
466 parms.push('--updateSourcePath="' + cwd + agentfilename + '"');
467 updatesource = (cwd + agentfilename).split('.exe'); updatesource.pop(); updatesource = updatesource.join('.exe');
468 db = updatesource + '.db';
469 - updatesource = (' & move "' + updatedb + '" "' + db + '"') + (' & erase "' + updatedb + '"');
469 + updatesource = (' & move "' + updatedb + '" "' + db + '"') + (' & erase "' + updatedb + '" & move "' + update + '" "' + updatesource + '.exe"');
470 }
471 else
472 {