mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-08-26 05:32:05 +00:00
Merge pull request #6584 from Chocobo1/nsis
NSIS: set exit code to 0 on install/uninstall success
This commit is contained in:
commit
027607490a
4
dist/windows/installer.nsi
vendored
4
dist/windows/installer.nsi
vendored
@ -228,3 +228,7 @@ Function PageFinishRun
|
|||||||
!insertmacro UAC_AsUser_ExecShell "" "$INSTDIR\qbittorrent.exe" "" "" ""
|
!insertmacro UAC_AsUser_ExecShell "" "$INSTDIR\qbittorrent.exe" "" "" ""
|
||||||
|
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
||||||
|
Function .onInstSuccess
|
||||||
|
SetErrorLevel 0
|
||||||
|
FunctionEnd
|
||||||
|
4
dist/windows/uninstaller.nsi
vendored
4
dist/windows/uninstaller.nsi
vendored
@ -166,3 +166,7 @@ Function un.check_instance
|
|||||||
notfound:
|
notfound:
|
||||||
|
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
||||||
|
Function un.onUninstSuccess
|
||||||
|
SetErrorLevel 0
|
||||||
|
FunctionEnd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user