Merge pull request #883 from johankwarnmarksymphony/mac_installer_version

fix: Let build script set app-version instead of hardcording
This commit is contained in:
Johan Kwarnmark 2020-03-03 13:53:57 +01:00 committed by GitHub
commit 62072901a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)}')