From 01feae24b28fb6c23003a6f71e70df6d5068150c Mon Sep 17 00:00:00 2001 From: David Lindbom Date: Sun, 3 Sep 2023 16:16:49 +0200 Subject: [PATCH] Ladybird: Fix capitalization in AppKit menu bar --- Ladybird/CMakeLists.txt | 1 + Ladybird/Info.plist | 2 +- Ladybird/cmake/InstallRules.cmake | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Ladybird/CMakeLists.txt b/Ladybird/CMakeLists.txt index 84d34e09aa3..6f34387d01c 100644 --- a/Ladybird/CMakeLists.txt +++ b/Ladybird/CMakeLists.txt @@ -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} diff --git a/Ladybird/Info.plist b/Ladybird/Info.plist index fa3566bbe0c..ffa29253741 100644 --- a/Ladybird/Info.plist +++ b/Ladybird/Info.plist @@ -13,7 +13,7 @@ CFBundleSignature CFBundleExecutable - ladybird + Ladybird CFBundleIdentifier org.SerenityOS.Ladybird NSPrincipalClass diff --git a/Ladybird/cmake/InstallRules.cmake b/Ladybird/cmake/InstallRules.cmake index 2aa6f7c0a65..52cfdfbfd68 100644 --- a/Ladybird/cmake/InstallRules.cmake +++ b/Ladybird/cmake/InstallRules.cmake @@ -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}) "