Let build script set app-version instead of hardcording

This commit is contained in:
Johan Kwarnmark 2020-03-03 13:22:44 +01:00
parent 402665f470
commit 9f33d31189

View File

@ -12,7 +12,7 @@ delete_app()
compare_versions()
{
# Get the installer version:
CURRENT_VERSION=6.0.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)}')