temp progress

This commit is contained in:
inspectredc
2026-01-17 14:14:54 -06:00
committed by Lywx
parent ef62270f3c
commit 74f33d8294
3 changed files with 15 additions and 3 deletions
+7
View File
@@ -670,6 +670,13 @@ add_custom_target(CreateOSXIcons
)
add_dependencies(${PROJECT_NAME} CreateOSXIcons)
configure_file("${CMAKE_SOURCE_DIR}/Info.plist" "${CMAKE_BINARY_DIR}/Info.plist" COPYONLY)
INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ../MacOS COMPONENT Ghostship)
# Rename the installed soh binary to drop the macos suffix
# INSTALL(CODE "FILE(RENAME \${CMAKE_INSTALL_PREFIX}/../MacOS/Ghostship-macos \${CMAKE_INSTALL_PREFIX}/../MacOS/Ghostship)")
# install(CODE "
# include(BundleUtilities)
# fixup_bundle(\"\${CMAKE_INSTALL_PREFIX}/../MacOS/Ghostship\" \"\" \"${dirs}\")
# ")
endif()
set_property(TARGET ${PROJECT_NAME} PROPERTY APPIMAGE_DESKTOP_FILE_TERMINAL YES)
+5
View File
@@ -33,6 +33,11 @@
<string>public.app-category.games</string>
<key>LSMinimumSystemVersion</key>
<string>10.15</string>
<key>LSEnvironment</key>
<dict>
<key>SHIP_HOME</key>
<string>~/Library/Application Support/com.ghostship</string>
</dict>
<key>LSArchitecturePriority</key>
<array>
<string>arm64</string>
+3 -3
View File
@@ -21,9 +21,9 @@ set(CPACK_PACKAGING_INSTALL_PREFIX "/usr/bin")
endif()
if (CPACK_GENERATOR MATCHES "Bundle")
set(CPACK_BUNDLE_NAME "")
set(CPACK_BUNDLE_PLIST "macosx/Info.plist")
set(CPACK_BUNDLE_ICON "macosx/.icns")
set(CPACK_BUNDLE_NAME "Ghostship")
set(CPACK_BUNDLE_PLIST "Info.plist")
set(CPACK_BUNDLE_ICON "macosx/Ghostship.icns")
# set(CPACK_BUNDLE_STARTUP_COMMAND "macosx/-macos.sh")
set(CPACK_BUNDLE_APPLE_CERT_APP "-")
endif()