From 9f33d311894c84ed870eb06534a9b0817a786112 Mon Sep 17 00:00:00 2001 From: Johan Kwarnmark Date: Tue, 3 Mar 2020 13:22:44 +0100 Subject: [PATCH] Let build script set app-version instead of hardcording --- installer/mac/preinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/mac/preinstall.sh b/installer/mac/preinstall.sh index efc0fe14..4fdaa4d7 100755 --- a/installer/mac/preinstall.sh +++ b/installer/mac/preinstall.sh @@ -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)}')