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:
Vishwas Shashidhar 2020-04-21 11:18:27 +05:30 committed by GitHub
parent 2364be8ce8
commit a145e56369
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View File

@ -1,8 +1,5 @@
#!/bin/bash
# Kill the existing running instance
sudo killall Symphony
delete_app()
{
# Delete the installed version only if it is older than the installing version

View File

@ -9,7 +9,7 @@
<array>
<dict>
<key>APPLICATION_ID</key>
<string>com.symphony.symphony-desktop</string>
<string>com.symphony.electron-desktop</string>
<key>STATE</key>
<true/>
</dict>