Skip to content
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.

Commit

Permalink
Get package name from cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
GuLinux committed Apr 24, 2017
1 parent 28d1a61 commit 2526b04
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions files/Info.plist
Expand Up @@ -9,8 +9,8 @@
<key>CFBundleIdentifier</key>
<string>GuLinux.PlanetaryImager</string>
<key>CFBundleName</key>
<string>PlanetaryImager</string>
<string>Planetary Imager</string>
<key>CFBundleDisplayName</key>
<string>PlanetaryImager</string>
<string>Planetary Imager</string>
</dict>
</plist>
7 changes: 5 additions & 2 deletions support/docker-builds/images/osx/osx-packaging
Expand Up @@ -39,6 +39,9 @@ mkdir dmg
mv PlanetaryImager.app dmg/Planetary\ Imager.app
ln -s /Applications dmg/

genisoimage -V "PlanetaryImager" -D -no-pad -apple -R -o PlanetaryImager.dmg dmg && rm -rf dmg
echo "CPACK_PACKAGE_FILENAME=PlanetaryImager.dmg" > package_name.cfg
. package_name.cfg
CPACK_PACKAGE_FILENAME="$( basename "$CPACK_PACKAGE_FILENAME" .tar.gz ).dmg"
genisoimage -V "PlanetaryImager" -D -no-pad -apple -R -o "$CPACK_PACKAGE_FILENAME" dmg && rm -rf dmg

echo "CPACK_PACKAGE_FILENAME=$CPACK_PACKAGE_FILENAME" > package_name.cfg

0 comments on commit 2526b04

Please sign in to comment.