mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-23 20:53:15 -05:00
Updated Temp/Windows SelfUpdate
This commit is contained in:
parent
50abd95f94
commit
a937577f4b
@ -466,7 +466,7 @@ function windows_execve(name, agentfilename, sessionid) {
|
||||
parms.push('--updateSourcePath="' + cwd + agentfilename + '"');
|
||||
updatesource = (cwd + agentfilename).split('.exe'); updatesource.pop(); updatesource = updatesource.join('.exe');
|
||||
db = updatesource + '.db';
|
||||
updatesource = (' & move "' + updatedb + '" "' + db + '"') + (' & erase "' + updatedb + '"');
|
||||
updatesource = (' & move "' + updatedb + '" "' + db + '"') + (' & erase "' + updatedb + '" & move "' + update + '" "' + updatesource + '.exe"');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user