mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-23 06:38:07 +00:00
Detect if linphone-qt is already running when launching the installer.
This commit is contained in:
parent
1e9431bfeb
commit
1f1651d49e
1 changed files with 2 additions and 1 deletions
|
|
@ -904,7 +904,8 @@ SectionEnd
|
|||
|
||||
Function .onInit
|
||||
FindWindow $0 "gdkWindowToplevel" "Linphone"
|
||||
StrCmp $0 0 notRunning
|
||||
FindWindow $1 "Qt5QWindowOwnDCIcon" "Linphone"
|
||||
StrCmp "$0$1" "00" notRunning
|
||||
MessageBox MB_OK|MB_ICONEXCLAMATION "Linphone is running. Please close it first and restart the installation." /SD IDOK
|
||||
Abort
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue