From 7c6c138007aae87d4c23962f645181ddfdbd3022 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Wed, 29 Dec 2021 18:00:14 -0500 Subject: [PATCH] FINALLY macOS build script works --- CMakeLists.txt | 2 +- res/Info.plist | 2 +- scripts/release-mac.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 62d38370f..322693f59 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -162,7 +162,7 @@ set(CPACK_PACKAGE_DESCRIPTION "free and open-source chiptune tracker") if (APPLE) 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_BUNDLE_NAME "Furnace") set(CPACK_BUNDLE_PLIST ${CMAKE_SOURCE_DIR}/res/Info.plist) diff --git a/res/Info.plist b/res/Info.plist index d1e672570..a12cd6ae5 100644 --- a/res/Info.plist +++ b/res/Info.plist @@ -9,7 +9,7 @@ CFBundleGetInfoString CFBundleIconFile - icon + Furnace CFBundleIdentifier org.tildearrow.furnace CFBundleInfoDictionaryVersion diff --git a/scripts/release-mac.sh b/scripts/release-mac.sh index 0616bd4cc..159b0f6f4 100755 --- a/scripts/release-mac.sh +++ b/scripts/release-mac.sh @@ -24,4 +24,4 @@ cp ../../LICENSE LICENSE.txt || exit 1 cp ../../README.md README.txt || 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