fix: conditional to check if hydra is updating

This commit is contained in:
Zamitto 2024-09-18 07:07:29 -03:00
parent 2e87ae8486
commit 2bc98317e9

View file

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