mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-27 17:31:36 -06:00
fix preinstall script app_version placeholder
This commit is contained in:
parent
5d9bebd86c
commit
1f6017a1fa
@ -12,7 +12,7 @@ delete_app()
|
|||||||
compare_versions()
|
compare_versions()
|
||||||
{
|
{
|
||||||
# Get the installer version:
|
# Get the installer version:
|
||||||
CURRENT_VERSION=${APP_VERSION}
|
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