Ladybird: Add app icon for macOS
Author: https://github.com/bplaat Commit: https://github.com/SerenityOS/serenity/commit/059857d26f Pull-request: https://github.com/SerenityOS/serenity/pull/20334
|
@ -160,6 +160,8 @@ if (APPLE)
|
|||
COMMAND "${CMAKE_COMMAND}" -E copy_if_different "$<TARGET_FILE:WebDriver>" "${app_dir}"
|
||||
COMMAND "${CMAKE_COMMAND}" -E copy_if_different "$<TARGET_FILE:WebSocketServer>" "${app_dir}"
|
||||
COMMAND "${CMAKE_COMMAND}" -E copy_if_different "$<TARGET_FILE:headless-browser>" "${app_dir}"
|
||||
COMMAND "mkdir" -p "${bundle_dir}/Contents/Resources"
|
||||
COMMAND "iconutil" --convert icns "${CMAKE_CURRENT_SOURCE_DIR}/Icons/macos/app_icon.iconset" --output "${bundle_dir}/Contents/Resources/app_icon.icns"
|
||||
)
|
||||
endif()
|
||||
|
||||
|
|
BIN
Ladybird/Icons/macos/app_icon.iconset/icon_128x128.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
Ladybird/Icons/macos/app_icon.iconset/icon_128x128@2x.png
Normal file
After Width: | Height: | Size: 57 KiB |
BIN
Ladybird/Icons/macos/app_icon.iconset/icon_16x16.png
Normal file
After Width: | Height: | Size: 650 B |
BIN
Ladybird/Icons/macos/app_icon.iconset/icon_16x16@2x.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
Ladybird/Icons/macos/app_icon.iconset/icon_256x256.png
Normal file
After Width: | Height: | Size: 57 KiB |
BIN
Ladybird/Icons/macos/app_icon.iconset/icon_256x256@2x.png
Normal file
After Width: | Height: | Size: 199 KiB |
BIN
Ladybird/Icons/macos/app_icon.iconset/icon_32x32.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
Ladybird/Icons/macos/app_icon.iconset/icon_32x32@2x.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
BIN
Ladybird/Icons/macos/app_icon.iconset/icon_512x512.png
Normal file
After Width: | Height: | Size: 199 KiB |
BIN
Ladybird/Icons/macos/app_icon.iconset/icon_512x512@2x.png
Normal file
After Width: | Height: | Size: 690 KiB |
|
@ -5,7 +5,7 @@
|
|||
<key>NSPrincipalClass</key>
|
||||
<string>NSApplication</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string></string>
|
||||
<string>app_icon.icns</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
|
|