mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-28 09:51:06 -06:00
update pre-install script to get version number dynamically
This commit is contained in:
parent
769bef59e9
commit
fc68318efa
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/bash
|
||||
|
||||
# Kill the existing running instance
|
||||
sudo killall Symphony
|
||||
@ -12,7 +12,7 @@ delete_app()
|
||||
compare_versions()
|
||||
{
|
||||
# Get the installer version:
|
||||
CURRENT_VERSION=4.4.0
|
||||
CURRENT_VERSION=${APP_VERSION}
|
||||
|
||||
# Get the currently installed version:
|
||||
INSTALLED_VERSION=$(plutil -p /Applications/Symphony.app/Contents/Info.plist | awk '/CFBundleShortVersionString/ {print substr($3, 2, length($3)-2)}')
|
||||
|
Loading…
Reference in New Issue
Block a user