diff --git a/CMakeLists.txt b/CMakeLists.txt index 41f76c3..160c447 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -101,13 +101,15 @@ file(GLOB_RECURSE SOURCES CONFIGURE_DEPENDS ) if((APPLE AND NOT IOS) AND WITH_GUI) - set(APP_ICON "${CMAKE_CURRENT_SOURCE_DIR}/resources/palera1n.icns") + set(APP_ICON "${CMAKE_CURRENT_SOURCE_DIR}/resources/AppIcon.icns") + set(APP_ICON_CAR "${CMAKE_CURRENT_SOURCE_DIR}/resources/Assets.car") add_executable(palera1n MACOSX_BUNDLE ${SOURCES}) - target_sources(palera1n PRIVATE ${APP_ICON}) + target_sources(palera1n PRIVATE ${APP_ICON} ${APP_ICON_CAR}) set_source_files_properties(${APP_ICON} PROPERTIES MACOSX_PACKAGE_LOCATION "Resources") + set_source_files_properties(${APP_ICON_CAR} PROPERTIES MACOSX_PACKAGE_LOCATION "Resources") set_target_properties(palera1n PROPERTIES MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/resources/Info.plist" - MACOSX_BUNDLE_ICON_FILE palera1n.icns + MACOSX_BUNDLE_ICON_FILE AppIcon.icns ) elseif(IOS) add_executable(palera1n MACOSX_BUNDLE ${SOURCES}) diff --git a/resources/AppIcon.icns b/resources/AppIcon.icns new file mode 100644 index 0000000..c0e5613 Binary files /dev/null and b/resources/AppIcon.icns differ diff --git a/resources/AppIcon.icon/Assets/asdasdasdas.png b/resources/AppIcon.icon/Assets/asdasdasdas.png new file mode 100644 index 0000000..017d95b Binary files /dev/null and b/resources/AppIcon.icon/Assets/asdasdasdas.png differ diff --git a/resources/AppIcon.icon/Assets/asdsadsadasasd.png b/resources/AppIcon.icon/Assets/asdsadsadasasd.png new file mode 100644 index 0000000..4a09900 Binary files /dev/null and b/resources/AppIcon.icon/Assets/asdsadsadasasd.png differ diff --git a/resources/AppIcon.icon/Assets/palera1n_bg.png b/resources/AppIcon.icon/Assets/palera1n_bg.png new file mode 100644 index 0000000..e0bc630 Binary files /dev/null and b/resources/AppIcon.icon/Assets/palera1n_bg.png differ diff --git a/resources/AppIcon.icon/Assets/palera1n_glyph 2.png b/resources/AppIcon.icon/Assets/palera1n_glyph 2.png new file mode 100644 index 0000000..9affc32 Binary files /dev/null and b/resources/AppIcon.icon/Assets/palera1n_glyph 2.png differ diff --git a/resources/AppIcon.icon/icon.json b/resources/AppIcon.icon/icon.json new file mode 100644 index 0000000..861af8d --- /dev/null +++ b/resources/AppIcon.icon/icon.json @@ -0,0 +1,72 @@ +{ + "fill" : { + "linear-gradient" : [ + "srgb:0.68630,0.73449,0.81004,1.00000", + "srgb:0.73248,0.53902,0.51652,1.00000" + ], + "orientation" : { + "start" : { + "x" : 0.5, + "y" : 0 + }, + "stop" : { + "x" : 0.5, + "y" : 0.7 + } + } + }, + "groups" : [ + { + "layers" : [ + { + "blend-mode" : "screen", + "fill" : { + "solid" : "srgb:0.95467,1.00000,0.96255,1.00000" + }, + "hidden" : false, + "image-name" : "palera1n_glyph 2.png", + "name" : "palera1n_glyph 2" + }, + { + "glass" : false, + "hidden" : true, + "image-name" : "asdsadsadasasd.png", + "name" : "asdsadsadasasd", + "opacity" : 0.7 + }, + { + "fill" : { + "solid" : "srgb:0.91539,1.00000,0.91492,1.00000" + }, + "glass" : false, + "hidden" : false, + "image-name" : "asdasdasdas.png", + "name" : "asdasdasdas", + "opacity" : 0.3 + }, + { + "blend-mode" : "normal", + "glass" : false, + "hidden" : true, + "image-name" : "palera1n_bg.png", + "name" : "palera1n_bg", + "opacity" : 1 + } + ], + "shadow" : { + "kind" : "neutral", + "opacity" : 0.5 + }, + "translucency" : { + "enabled" : true, + "value" : 0.5 + } + } + ], + "supported-platforms" : { + "circles" : [ + "watchOS" + ], + "squares" : "shared" + } +} \ No newline at end of file diff --git a/resources/Assets.car b/resources/Assets.car new file mode 100644 index 0000000..c970541 Binary files /dev/null and b/resources/Assets.car differ diff --git a/resources/palera1n.icns b/resources/palera1n.icns deleted file mode 100644 index b55e466..0000000 Binary files a/resources/palera1n.icns and /dev/null differ