Skip to content

Commit

Permalink
Set correct vendor and version
Browse files Browse the repository at this point in the history
  • Loading branch information
tomas-soltys committed Dec 20, 2020
1 parent 7ee1954 commit f401d22
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 f401d22

Please sign in to comment.