feat(cpn): update application display name for MacOS (#7033)

This commit is contained in:
Peter Feerick
2026-01-29 11:12:35 +10:00
committed by GitHub
parent 4a84ddbde5
commit 4db84e1663
+3 -1
View File
@@ -428,9 +428,11 @@ elseif(WIN32)
elseif(APPLE) elseif(APPLE)
# Qt + Cmake + Mac is poorly documented. A lot of this is guesswork # Qt + Cmake + Mac is poorly documented. A lot of this is guesswork
# and trial and error. Do not hesitate to fix it for the better # and trial and error. Do not hesitate to fix it for the better
set(COMPANION_DISPLAY_NAME "EdgeTX Companion")
set_target_properties(${COMPANION_NAME} PROPERTIES set_target_properties(${COMPANION_NAME} PROPERTIES
MACOSX_RPATH TRUE MACOSX_RPATH TRUE
MACOSX_BUNDLE TRUE MACOSX_BUNDLE TRUE
MACOSX_BUNDLE_BUNDLE_NAME "${COMPANION_DISPLAY_NAME}"
MACOSX_BUNDLE_INFO_PLIST ${COMPANION_TARGETS_DIR}/MacOSXBundleInfo.plist.in MACOSX_BUNDLE_INFO_PLIST ${COMPANION_TARGETS_DIR}/MacOSXBundleInfo.plist.in
INSTALL_RPATH "@executable_path/../Frameworks" INSTALL_RPATH "@executable_path/../Frameworks"
@@ -440,7 +442,7 @@ elseif(APPLE)
# This the name that the user will see in the generated DMG and what the application # This the name that the user will see in the generated DMG and what the application
# will be called under /Applications. We include the version string to make installing # will be called under /Applications. We include the version string to make installing
# different versions side-by-side # different versions side-by-side
set(COMPANION_OSX_APP_BUNDLE_NAME "EdgeTX Companion ${VERSION_FAMILY}") set(COMPANION_OSX_APP_BUNDLE_NAME "${COMPANION_DISPLAY_NAME} ${VERSION_FAMILY}")
set(MACOSX_BUNDLE_GUI_IDENTIFIER "org.edgetx.companion") set(MACOSX_BUNDLE_GUI_IDENTIFIER "org.edgetx.companion")
set(companion_app_dir "companion.app") set(companion_app_dir "companion.app")