diff --git a/.reuse/dep5 b/.reuse/dep5 index 5f081569..cfa8fd09 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -37,6 +37,7 @@ Files: CMakeSettings.json src/images/refresh_icon.png src/images/settings_icon.png src/images/stop_icon.png + src/images/shadPS4.icns src/images/shadps4.ico src/images/themes_icon.png src/shadps4.qrc diff --git a/CMakeLists.txt b/CMakeLists.txt index 2901cb2f..90ba4d83 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -553,6 +553,7 @@ if (ENABLE_QT_GUI) ${SHADER_RECOMPILER} ${VIDEO_CORE} ${EMULATOR} + src/images/shadPS4.icns ) else() add_executable(shadps4 @@ -640,5 +641,9 @@ target_include_directories(shadps4 PRIVATE ${HOST_SHADERS_INCLUDE}) if (ENABLE_QT_GUI) set_target_properties(shadps4 PROPERTIES # WIN32_EXECUTABLE ON - MACOSX_BUNDLE ON) + MACOSX_BUNDLE ON + MACOSX_BUNDLE_ICON_FILE shadPS4.icns) + + set_source_files_properties(src/images/shadPS4.icns PROPERTIES + MACOSX_PACKAGE_LOCATION Resources) endif() diff --git a/src/images/shadPS4.icns b/src/images/shadPS4.icns new file mode 100644 index 00000000..0e26368d Binary files /dev/null and b/src/images/shadPS4.icns differ