mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Fix NSIS auto-uninstall
The NSIS script incorrectly passes the default installation dir as argument for the auto-uninstaller of previous installs. This is supposed to avoid moving the uninstaller to a temp file, but it is unclear why that was done, as this leaves the uninstaller behind. More importantly, now that we have changed the default installation directory, the auto-uninstall tries to remove the previous install from the new location, which does nothing and leaves behind several GB on the disk.
This commit is contained in:
parent
cea77c497c
commit
771bf0ba08
1 changed files with 1 additions and 1 deletions
2
source/tools/dist/0ad.nsi
vendored
2
source/tools/dist/0ad.nsi
vendored
|
|
@ -229,7 +229,7 @@ Function .onInit
|
|||
;Run the uninstaller
|
||||
uninst:
|
||||
ClearErrors
|
||||
ExecWait '$R0 _?=$INSTDIR' ;Do not copy the uninstaller to a temp file
|
||||
ExecWait '$R0'
|
||||
|
||||
done:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue