FINALLY macOS build script works

This commit is contained in:
tildearrow 2021-12-29 18:00:14 -05:00
parent 010dbd9093
commit 7c6c138007
3 changed files with 3 additions and 3 deletions

View file

@ -162,7 +162,7 @@ set(CPACK_PACKAGE_DESCRIPTION "free and open-source chiptune tracker")
if (APPLE) if (APPLE)
set(CPACK_GENERATOR Bundle) set(CPACK_GENERATOR Bundle)
set(CPACK_DMG_SLA_DIR res/macLicense) set(CPACK_DMG_SLA_DIR ${CMAKE_SOURCE_DIR}/res/macLicense)
set(CPACK_DMG_SLA_LANGUAGES en) set(CPACK_DMG_SLA_LANGUAGES en)
set(CPACK_BUNDLE_NAME "Furnace") set(CPACK_BUNDLE_NAME "Furnace")
set(CPACK_BUNDLE_PLIST ${CMAKE_SOURCE_DIR}/res/Info.plist) set(CPACK_BUNDLE_PLIST ${CMAKE_SOURCE_DIR}/res/Info.plist)

View file

@ -9,7 +9,7 @@
<key>CFBundleGetInfoString</key> <key>CFBundleGetInfoString</key>
<string></string> <string></string>
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string>icon</string> <string>Furnace</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
<string>org.tildearrow.furnace</string> <string>org.tildearrow.furnace</string>
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>

View file

@ -24,4 +24,4 @@ cp ../../LICENSE LICENSE.txt || exit 1
cp ../../README.md README.txt || exit 1 cp ../../README.md README.txt || exit 1
cp -r ../../papers papers || exit 1 cp -r ../../papers papers || exit 1
zip -r furnace.zip LICENSE.txt Furnace.dmg README.txt papers zip -r furnace.zip LICENSE.txt Furnace*.dmg README.txt papers