Skip to content

Commit 2bc9831

Browse files
committed
fix: conditional to check if hydra is updating
1 parent 2e87ae8 commit 2bc9831

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

build/installer.nsh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
!macro customUnInstall
2-
RMDir /r "$APPDATA\${APP_PACKAGE_NAME}"
3-
RMDir /r "$APPDATA\hydra"
2+
${ifNot} ${isUpdated}
3+
RMDir /r "$APPDATA\${APP_PACKAGE_NAME}"
4+
RMDir /r "$APPDATA\hydra"
5+
${endIf}
46
!macroend

0 commit comments

Comments
 (0)