mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-04 05:19:58 +03:00
Ladybird: Fix capitalization in AppKit menu bar
This commit is contained in:
parent
32909d02b3
commit
01feae24b2
Notes:
sideshowbarker
2024-07-17 11:34:34 +09:00
Author: https://github.com/DavidLindbom Commit: https://github.com/SerenityOS/serenity/commit/01feae24b2 Pull-request: https://github.com/SerenityOS/serenity/pull/20845 Reviewed-by: https://github.com/ADKaster
@ -218,6 +218,7 @@ add_dependencies(ladybird SQLServer WebContent WebDriver WebSocketServer Request
|
|||||||
|
|
||||||
function(create_ladybird_bundle target_name)
|
function(create_ladybird_bundle target_name)
|
||||||
set_target_properties(${target_name} PROPERTIES
|
set_target_properties(${target_name} PROPERTIES
|
||||||
|
OUTPUT_NAME "Ladybird"
|
||||||
MACOSX_BUNDLE_GUI_IDENTIFIER org.SerenityOS.Ladybird
|
MACOSX_BUNDLE_GUI_IDENTIFIER org.SerenityOS.Ladybird
|
||||||
MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION}
|
MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION}
|
||||||
MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}
|
MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string></string>
|
<string></string>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
<string>ladybird</string>
|
<string>Ladybird</string>
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
<string>org.SerenityOS.Ladybird</string>
|
<string>org.SerenityOS.Ladybird</string>
|
||||||
<key>NSPrincipalClass</key>
|
<key>NSPrincipalClass</key>
|
||||||
|
@ -116,8 +116,8 @@ install(FILES
|
|||||||
|
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
# Fixup the app bundle and copy:
|
# Fixup the app bundle and copy:
|
||||||
# - Libraries from lib/ to ladybird.app/Contents/lib
|
# - Libraries from lib/ to Ladybird.app/Contents/lib
|
||||||
# - Resources from share/res/ to ladybird.app/Contents/Resources/res
|
# - Resources from share/res/ to Ladybird.app/Contents/Resources/res
|
||||||
install(CODE "
|
install(CODE "
|
||||||
set(res_dir \${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/res)
|
set(res_dir \${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/res)
|
||||||
if (IS_ABSOLUTE ${CMAKE_INSTALL_DATADIR})
|
if (IS_ABSOLUTE ${CMAKE_INSTALL_DATADIR})
|
||||||
@ -128,7 +128,7 @@ if (APPLE)
|
|||||||
set(lib_dir ${CMAKE_INSTALL_LIBDIR})
|
set(lib_dir ${CMAKE_INSTALL_LIBDIR})
|
||||||
endif()
|
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 \${res_dir} DESTINATION \${contents_dir}/Resources)
|
||||||
file(COPY \${lib_dir} DESTINATION \${contents_dir})
|
file(COPY \${lib_dir} DESTINATION \${contents_dir})
|
||||||
"
|
"
|
||||||
|
Loading…
Reference in New Issue
Block a user