diff --git a/scripts/create_mac_app.sh b/scripts/create_mac_app.sh index 5c09fcf6..54406fb4 100755 --- a/scripts/create_mac_app.sh +++ b/scripts/create_mac_app.sh @@ -156,6 +156,7 @@ packageMatDir="${packageAppDir}/Contents/Resources/materials" packageDatDir="${packageAppDir}/Contents/Resources/data" packageHlpDir="${packageAppDir}/Contents/Resources/help" packagePixDir="${packageAppDir}/Contents/Resources/pixmaps" +packagePlist="${packageAppDir}/Contents/Info.plist" packageRangeSolverBin="${packageBinDir}/RangeSolver${versionSuffix}" @@ -196,6 +197,14 @@ then exit 1 fi +plutil -replace CFBundleIdentifier -string "Range-Software" $packagePlist && \ +plutil -replace CFBundleVersion -string "$version" $packagePlist +if [ $? -ne 0 ] +then + echo_e "Failed to edit application plist file" + exit 1 +fi + # File preparation - End -------------------------------------------------- # Package creation section - Begin ----------------------------------------