Skip to content

Commit

Permalink
fix(bundler): Correct nsis pre-uninstall hook to post-uninstall (#10498)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
catalinsh and FabianLars authored Aug 5, 2024
1 parent ab382f4 commit a440a3f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changes/change-pr-10498.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-bundler": patch:bug
---

Correct nsis pre-uninstall hook to post-uninstall
2 changes: 1 addition & 1 deletion tooling/bundler/src/bundle/windows/templates/installer.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ Section Uninstall
${EndIf}

!ifmacrodef NSIS_HOOK_POSTUNINSTALL
!insertmacro NSIS_HOOK_PREUNINSTALL
!insertmacro NSIS_HOOK_POSTUNINSTALL
!endif

; Auto close if passive mode
Expand Down

0 comments on commit a440a3f

Please sign in to comment.