mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-02 18:26:27 +13:00
Update ShareX-setup.iss
This commit is contained in:
parent
32633c158c
commit
0c10b3c07b
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ var
|
||||||
begin
|
begin
|
||||||
if CheckForMutexes('{#MyAppId}') then
|
if CheckForMutexes('{#MyAppId}') then
|
||||||
begin
|
begin
|
||||||
if (MsgBox('Uninstall has detected that {#MyAppName} is currently running.' + #13#10#13#10 + 'Would you like to close it?', mbError, MB_YESNO) = IDYES) then
|
if MsgBox('Uninstall has detected that {#MyAppName} is currently running.' + #13#10#13#10 + 'Would you like to close it?', mbError, MB_YESNO) = IDYES then
|
||||||
begin
|
begin
|
||||||
Exec('taskkill.exe', '/f /im {#MyAppFilename}', '', SW_HIDE, ewWaitUntilTerminated, ErrorCode);
|
Exec('taskkill.exe', '/f /im {#MyAppFilename}', '', SW_HIDE, ewWaitUntilTerminated, ErrorCode);
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue