feat: add script to remove hydra folders on uninstall

This commit is contained in:
Zamitto 2024-09-17 23:02:12 -03:00
parent 2271368199
commit df5f34119f
2 changed files with 5 additions and 0 deletions

4
build/installer.nsh Normal file
View File

@ -0,0 +1,4 @@
!macro customUnInstall
RMDir /r "$APPDATA\${APP_PACKAGE_NAME}"
RMDir /r "$APPDATA\hydra"
!macroend

View File

@ -27,6 +27,7 @@ nsis:
createDesktopShortcut: always
oneClick: false
allowToChangeInstallationDirectory: true
include: installer.nsh
portable:
artifactName: ${name}-${version}-portable.${ext}
mac: