mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Installer: Changed to quit Rainmeter with WM_CLOSE
This commit is contained in:
parent
43f726271d
commit
9dcaa2f891
@ -636,9 +636,9 @@ Section
|
|||||||
|
|
||||||
SetOutPath "$INSTDIR"
|
SetOutPath "$INSTDIR"
|
||||||
|
|
||||||
FindWindow $0 "RainmeterTrayClass"
|
FindWindow $0 "DummyRainWClass" "Rainmeter control window"
|
||||||
${If} $0 != "0"
|
${If} $0 != "0"
|
||||||
Exec '"$INSTDIR\Rainmeter.exe" !Quit'
|
SendMessage $0 ${WM_CLOSE} 0 0
|
||||||
|
|
||||||
; Wait up to for up to 5 seconds for Rainmeter to close
|
; Wait up to for up to 5 seconds for Rainmeter to close
|
||||||
StrCpy $1 "0"
|
StrCpy $1 "0"
|
||||||
|
Loading…
Reference in New Issue
Block a user