mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-27 17:31:36 -06:00
SDA-1062: warn users before closing running app (#972)
- On macOS, currently, when trying to install new version of SDA, we simply kill the app before asking user if they'd like to quit and proceed. - This fixes the issue and provides a better user experience. Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>
This commit is contained in:
parent
2364be8ce8
commit
a145e56369
@ -1,8 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Kill the existing running instance
|
|
||||||
sudo killall Symphony
|
|
||||||
|
|
||||||
delete_app()
|
delete_app()
|
||||||
{
|
{
|
||||||
# Delete the installed version only if it is older than the installing version
|
# Delete the installed version only if it is older than the installing version
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<array>
|
<array>
|
||||||
<dict>
|
<dict>
|
||||||
<key>APPLICATION_ID</key>
|
<key>APPLICATION_ID</key>
|
||||||
<string>com.symphony.symphony-desktop</string>
|
<string>com.symphony.electron-desktop</string>
|
||||||
<key>STATE</key>
|
<key>STATE</key>
|
||||||
<true/>
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
|
Loading…
Reference in New Issue
Block a user