Skip to content

Commit a440a3f

Browse files
fix(bundler): Correct nsis pre-uninstall hook to post-uninstall (#10498)
* fix(bundler): Correct nsis pre-uninstall hook to post-uninstall * Create change-pr-10498.md * Update change-pr-10498.md [skip ci] --------- Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
1 parent ab382f4 commit a440a3f

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changes/change-pr-10498.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"tauri-bundler": patch:bug
3+
---
4+
5+
Correct nsis pre-uninstall hook to post-uninstall

tooling/bundler/src/bundle/windows/templates/installer.nsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ Section Uninstall
777777
${EndIf}
778778

779779
!ifmacrodef NSIS_HOOK_POSTUNINSTALL
780-
!insertmacro NSIS_HOOK_PREUNINSTALL
780+
!insertmacro NSIS_HOOK_POSTUNINSTALL
781781
!endif
782782

783783
; Auto close if passive mode

0 commit comments

Comments
 (0)