mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-29 02:11:28 -06:00
Let build script set app-version instead of hardcording
This commit is contained in:
parent
402665f470
commit
9f33d31189
@ -12,7 +12,7 @@ delete_app()
|
|||||||
compare_versions()
|
compare_versions()
|
||||||
{
|
{
|
||||||
# Get the installer version:
|
# Get the installer version:
|
||||||
CURRENT_VERSION=6.0.0
|
CURRENT_VERSION=APP_VERSION
|
||||||
|
|
||||||
# Get the currently installed 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)}')
|
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