Commit 9cb0069 1 parent fa93671 commit 9cb0069 Copy full SHA for 9cb0069
File tree 1 file changed +2
-2
lines changed
packages/app-builder-lib/templates/nsis/include
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ Var pid
48
48
DetailPrint ` Closing running "${PRODUCT_NAME}"...`
49
49
50
50
# https://github.com/electron-userland/electron-builder/issues/2516#issuecomment-372009092
51
- ExecWait ` taskkill /im "${APP_EXECUTABLE_FILENAME}" /fi "PID ne $pid"` $R0
51
+ nsExec::Exec ` taskkill /im "${APP_EXECUTABLE_FILENAME}" /fi "PID ne $pid"` $R0
52
52
# to ensure that files are not "in-use"
53
53
Sleep 100
54
54
@@ -57,7 +57,7 @@ Var pid
57
57
# wait to give a chance to exit gracefully
58
58
Sleep 1000
59
59
# do not use /t tree kill - app was killed softly already
60
- ExecWait ` taskkill /f /im "${APP_EXECUTABLE_FILENAME}" /fi "PID ne $pid"` $R0
60
+ nsExec::Exec ` taskkill /f /im "${APP_EXECUTABLE_FILENAME}" /fi "PID ne $pid"` $R0
61
61
${If} $R0 != 0
62
62
DetailPrint ` Waiting for "${PRODUCT_NAME}" to close (taskkill exit code $R0).`
63
63
Sleep 2000
You can’t perform that action at this time.
0 commit comments