Set ISLE and CONFIG bundle names

These are what show in the top left (the window name)
This commit is contained in:
Joshua Peisach 2025-06-14 14:19:34 -04:00
parent 38276cb8a0
commit 01a55442fb
No known key found for this signature in database
GPG Key ID: 41C3D4189AFEDB5A
3 changed files with 8 additions and 6 deletions

View File

@ -642,9 +642,11 @@ if(MSVC)
elseif(APPLE) elseif(APPLE)
set(MACOSX_BUNDLE_GUI_IDENTIFIER com.github.isledecomp.isle-portable) set(MACOSX_BUNDLE_GUI_IDENTIFIER com.github.isledecomp.isle-portable)
set(MACOSX_BUNDLE_COPYRIGHT LGPLv3) set(MACOSX_BUNDLE_COPYRIGHT LGPLv3)
set(MACOSX_BUNDLE_BUNDLE_NAME isle) set(MACOSX_ROOT_BUNDLE_NAME isle)
set(MACOSX_CONFIG_BUNDLE_DISPLAY_NAME Configure LEGO Island) set(MACOSX_ISLE_BUNDLE_NAME "LEGO Island")
set(MACOSX_ISLE_BUNDLE_DISPLAY_NAME LEGO Island) set(MACOSX_ISLE_BUNDLE_DISPLAY_NAME "LEGO Island")
set(MACOSX_CONFIG_BUNDLE_NAME "Configure LEGO Island")
set(MACOSX_CONFIG_BUNDLE_DISPLAY_NAME "Configure LEGO Island")
set(MACOSX_BUNDLE_INFO_STRING ${PROJECT_VERSION}) set(MACOSX_BUNDLE_INFO_STRING ${PROJECT_VERSION})
set(MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION}) set(MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION})
set(MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION}) set(MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION})
@ -670,7 +672,7 @@ elseif(APPLE)
install(TARGETS isle DESTINATION ./) install(TARGETS isle DESTINATION ./)
install(CODE " install(CODE "
include(BundleUtilities) include(BundleUtilities)
fixup_bundle(${CMAKE_BINARY_DIR}/${MACOSX_BUNDLE_BUNDLE_NAME}.app \"\" \"\") fixup_bundle(${CMAKE_BINARY_DIR}/${MACOSX_ROOT_BUNDLE_NAME}.app \"\" \"\")
" "
COMPONENT Runtime) COMPONENT Runtime)

View File

@ -17,7 +17,7 @@
<key>CFBundleLongVersionString</key> <key>CFBundleLongVersionString</key>
<string>${MACOSX_BUNDLE_LONG_VERSION_STRING}</string> <string>${MACOSX_BUNDLE_LONG_VERSION_STRING}</string>
<key>CFBundleName</key> <key>CFBundleName</key>
<string>${MACOSX_BUNDLE_BUNDLE_NAME}</string> <string>${MACOSX_CONFIG_BUNDLE_NAME}</string>
<key>CFBundleDisplayName</key> <key>CFBundleDisplayName</key>
<string>${MACOSX_CONFIG_BUNDLE_DISPLAY_NAME}</string> <string>${MACOSX_CONFIG_BUNDLE_DISPLAY_NAME}</string>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>

View File

@ -17,7 +17,7 @@
<key>CFBundleLongVersionString</key> <key>CFBundleLongVersionString</key>
<string>${MACOSX_BUNDLE_LONG_VERSION_STRING}</string> <string>${MACOSX_BUNDLE_LONG_VERSION_STRING}</string>
<key>CFBundleName</key> <key>CFBundleName</key>
<string>${MACOSX_BUNDLE_BUNDLE_NAME}</string> <string>${MACOSX_ISLE_BUNDLE_NAME}</string>
<key>CFBundleDisplayName</key> <key>CFBundleDisplayName</key>
<string>${MACOSX_ISLE_BUNDLE_DISPLAY_NAME}</string> <string>${MACOSX_ISLE_BUNDLE_DISPLAY_NAME}</string>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>