[macos] add liquid glass icon (#3095)
Co-authored-by: Maufeat Signed-off-by: lizzie lizzie@eden-emu.dev Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3095 Reviewed-by: Maufeat <sahyno1996@gmail.com> Reviewed-by: MaranBr <maranbr@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
@@ -14,6 +14,7 @@ License: GPL-2.0-or-later
|
||||
|
||||
Files: dist/qt_themes/default/icons/256x256/eden.png
|
||||
dist/qt_themes/default/icons/256x256/eden_named.png
|
||||
dist/Assets.car
|
||||
dist/yuzu.bmp
|
||||
dist/eden.icns
|
||||
dist/eden.ico
|
||||
|
||||
BIN
dist/Assets.car
vendored
Normal file
BIN
dist/Assets.car
vendored
Normal file
Binary file not shown.
@@ -362,9 +362,16 @@ target_sources(yuzu
|
||||
)
|
||||
|
||||
if (APPLE)
|
||||
# Normal icns
|
||||
set(MACOSX_ICON "../../dist/eden.icns")
|
||||
set_source_files_properties(${MACOSX_ICON} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
|
||||
target_sources(yuzu PRIVATE ${MACOSX_ICON})
|
||||
|
||||
# Liquid glass
|
||||
set(MACOSX_LIQUID_GLASS_ICON "../../dist/Assets.car")
|
||||
set_source_files_properties(${MACOSX_LIQUID_GLASS_ICON} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
|
||||
target_sources(yuzu PRIVATE ${MACOSX_LIQUID_GLASS_ICON})
|
||||
|
||||
set_target_properties(yuzu PROPERTIES MACOSX_BUNDLE TRUE)
|
||||
set_target_properties(yuzu PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist)
|
||||
|
||||
|
||||
@@ -21,6 +21,8 @@ SPDX-License-Identifier: GPL-2.0-or-later
|
||||
<string></string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>eden.icns</string>
|
||||
<key>CFBundleIconName</key>
|
||||
<string>Eden</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.yuzu-emu.yuzu</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
|
||||
Reference in New Issue
Block a user