mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 09:34:19 +00:00
Fix autoupdater
This commit is contained in:
parent
6b25d81938
commit
360be2b727
|
@ -118,7 +118,7 @@ void CUpdater::ReplaceClient()
|
|||
dbg_msg("updater", "Replacing " PLAT_CLIENT_EXEC);
|
||||
|
||||
//Replace running executable by renaming twice...
|
||||
if(m_IsWinXP)
|
||||
if(!m_IsWinXP)
|
||||
{
|
||||
m_pStorage->RemoveBinaryFile("DDNet.old");
|
||||
m_pStorage->RenameBinaryFile(PLAT_CLIENT_EXEC, "DDNet.old");
|
||||
|
|
Loading…
Reference in a new issue