summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authordoadin <tbkizle@gmail.com>2023-05-29 22:30:57 +0200
committerCalum Lind <calumlind+deluge@gmail.com>2023-05-30 20:50:23 +0200
commit8001110625dd95c188c7425d0d95f93abe65f03c (patch)
tree4268cb5c733a3b88e7c5b765a30f5b9fd81c804e /packaging
parent[CI] Bump image and action versions (diff)
downloaddeluge-8001110625dd95c188c7425d0d95f93abe65f03c.tar.xz
deluge-8001110625dd95c188c7425d0d95f93abe65f03c.zip
[Packaging] Fix NSIS Uninstaller Not Removing File\Folder
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Website.lnk" "$INSTDIR\homepage.url" gets made in the installer but the uninstaller was looking for Delete "$SMPROGRAMS\$StartMenuFolder\Deluge Website.lnk" therefore this file was being left behind and since the folder was not empty $StartMenuFolder\Deluge was being left behinde as well. Closes: https://github.com/deluge-torrent/deluge/pull/426
Diffstat (limited to 'packaging')
-rw-r--r--packaging/win/deluge-win-installer.nsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/win/deluge-win-installer.nsi b/packaging/win/deluge-win-installer.nsi
index ba67b9d83..1f9c2e271 100644
--- a/packaging/win/deluge-win-installer.nsi
+++ b/packaging/win/deluge-win-installer.nsi
@@ -203,8 +203,8 @@ Section Uninstall
!insertmacro MUI_STARTMENU_GETFOLDER Application $StartMenuFolder
SetShellVarContext all
Delete "$SMPROGRAMS\$StartMenuFolder\Deluge.lnk"
+ Delete "$SMPROGRAMS\$StartMenuFolder\Website.lnk"
Delete "$SMPROGRAMS\$StartMenuFolder\Uninstall Deluge.lnk"
- Delete "$SMPROGRAMS\$StartMenuFolder\Deluge Website.lnk"
RmDir "$SMPROGRAMS\$StartMenuFolder"
DeleteRegKey /ifempty HKCR "Software\Deluge"