Skip to content

Commit 918a6c0

Browse files
committed
fix: Windows NSIS One-Click Setup Launched while App already running in background
Closes #617
1 parent a6a0cd6 commit 918a6c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/nsis/allowOnlyOneInstallerInstace.nsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
${nsProcess::FindProcess} "${APP_EXECUTABLE_FILENAME}" $R0
2727
${If} $R0 == 0
2828
MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION "${PRODUCT_NAME} is running. $\r$\nClick OK to close it and continue with ${MODE}." /SD IDCANCEL IDOK doStopProcess
29-
Abort
29+
Quit
3030
doStopProcess:
3131
DetailPrint "Closing running ${PRODUCT_NAME} ..."
3232
${nsProcess::KillProcess} "${APP_EXECUTABLE_FILENAME}" $R0

0 commit comments

Comments
 (0)