mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-27 17:31:36 -06:00
Merge pull request #883 from johankwarnmarksymphony/mac_installer_version
fix: Let build script set app-version instead of hardcording
This commit is contained in:
commit
62072901a1
@ -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