Skip to content

Commit

Permalink
Merge branch 'master' into github_master
Browse files Browse the repository at this point in the history
  • Loading branch information
tomas-soltys committed Dec 20, 2020
2 parents 9fbb586 + f401d22 commit 0091699
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scripts/create_mac_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand Down Expand Up @@ -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 ----------------------------------------
Expand Down

0 comments on commit 0091699

Please sign in to comment.