Ladybird: Fix capitalization in AppKit menu bar

This commit is contained in:
David Lindbom 2023-09-03 16:16:49 +02:00 committed by Andrew Kaster
parent 32909d02b3
commit 01feae24b2
Notes: sideshowbarker 2024-07-17 11:34:34 +09:00
3 changed files with 5 additions and 4 deletions

View file

@ -218,6 +218,7 @@ add_dependencies(ladybird SQLServer WebContent WebDriver WebSocketServer Request
function(create_ladybird_bundle target_name)
set_target_properties(${target_name} PROPERTIES
OUTPUT_NAME "Ladybird"
MACOSX_BUNDLE_GUI_IDENTIFIER org.SerenityOS.Ladybird
MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION}
MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}

View file

@ -13,7 +13,7 @@
<key>CFBundleSignature</key>
<string></string>
<key>CFBundleExecutable</key>
<string>ladybird</string>
<string>Ladybird</string>
<key>CFBundleIdentifier</key>
<string>org.SerenityOS.Ladybird</string>
<key>NSPrincipalClass</key>

View file

@ -116,8 +116,8 @@ install(FILES
if (APPLE)
# Fixup the app bundle and copy:
# - Libraries from lib/ to ladybird.app/Contents/lib
# - Resources from share/res/ to ladybird.app/Contents/Resources/res
# - Libraries from lib/ to Ladybird.app/Contents/lib
# - Resources from share/res/ to Ladybird.app/Contents/Resources/res
install(CODE "
set(res_dir \${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/res)
if (IS_ABSOLUTE ${CMAKE_INSTALL_DATADIR})
@ -128,7 +128,7 @@ if (APPLE)
set(lib_dir ${CMAKE_INSTALL_LIBDIR})
endif()
set(contents_dir \${CMAKE_INSTALL_PREFIX}/bundle/ladybird.app/Contents)
set(contents_dir \${CMAKE_INSTALL_PREFIX}/bundle/Ladybird.app/Contents)
file(COPY \${res_dir} DESTINATION \${contents_dir}/Resources)
file(COPY \${lib_dir} DESTINATION \${contents_dir})
"