diff --git a/CMakeLists.txt b/CMakeLists.txt index 5dd11b6a4..a31fb5793 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -324,22 +324,10 @@ add_subdirectory(src) # http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html # http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html if(ENABLE_QT AND UNIX AND NOT APPLE) - install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.desktop" + install(FILES "${CMAKE_SOURCE_DIR}/dist/yuzu.desktop" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications") - install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.svg" + install(FILES "${CMAKE_SOURCE_DIR}/dist/yuzu.svg" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/pixmaps") - install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.xml" + install(FILES "${CMAKE_SOURCE_DIR}/dist/yuzu.xml" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/mime/packages") endif() - -if(UNIX) - if(ENABLE_SDL2) - install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.6" - DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man6") - endif() - - if (ENABLE_QT) - install(FILES "${CMAKE_SOURCE_DIR}/dist/citra-qt.6" - DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man6") - endif() -endif() diff --git a/dist/yuzu.desktop b/dist/yuzu.desktop new file mode 100644 index 000000000..105080c73 --- /dev/null +++ b/dist/yuzu.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=yuzu +GenericName=Switch Emulator +Comment=Nintendo Switch video game console emulator +Icon=yuzu +TryExec=yuzu +Exec=yuzu %f +Categories=Game;Emulator;Qt; +MimeType=application/x-nx-nro;application/x-nx-nso; +Keywords=Switch;Nintendo; \ No newline at end of file diff --git a/dist/yuzu.icns b/dist/yuzu.icns new file mode 100644 index 000000000..1e0120d7e Binary files /dev/null and b/dist/yuzu.icns differ diff --git a/dist/yuzu.ico b/dist/yuzu.ico index bfa2ced13..4f372f571 100644 Binary files a/dist/yuzu.ico and b/dist/yuzu.ico differ diff --git a/dist/yuzu.svg b/dist/yuzu.svg new file mode 100644 index 000000000..1e16f061a --- /dev/null +++ b/dist/yuzu.svg @@ -0,0 +1,86 @@ + + + +image/svg+xml \ No newline at end of file diff --git a/dist/yuzu.xml b/dist/yuzu.xml new file mode 100644 index 000000000..f6e408321 --- /dev/null +++ b/dist/yuzu.xml @@ -0,0 +1,18 @@ + + + + Nintendo Switch homebrew executable + NRO + + + + + + + Nintendo Switch homebrew executable + NSO + + + + + \ No newline at end of file diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt index 1ec6abbb4..0dedfc83f 100644 --- a/src/yuzu/CMakeLists.txt +++ b/src/yuzu/CMakeLists.txt @@ -70,9 +70,7 @@ else() endif() if (APPLE) - if (EXISTS "../../dist/yuzu.icns") - set(MACOSX_ICON "../../dist/yuzu.icns") - endif() + set(MACOSX_ICON "../../dist/yuzu.icns") set_source_files_properties(${MACOSX_ICON} PROPERTIES MACOSX_PACKAGE_LOCATION Resources) add_executable(yuzu MACOSX_BUNDLE ${SRCS} ${HEADERS} ${UI_HDRS} ${MACOSX_ICON}) set_target_properties(yuzu PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist)