diff --git a/INSTALL.md b/INSTALL.md index be9ae12a0..7edc5a4b5 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -131,9 +131,12 @@ Assuming the default installation prefix `/usr/local` has been used, this is the ``` /usr/local/bin/emulationstation -/usr/local/share/emulationstation/LICENSES -/usr/local/share/emulationstation/resources -/usr/local/share/emulationstation/themes +/usr/local/share/applications/emulationstation.desktop +/usr/local/share/emulationstation/LICENSE +/usr/local/share/emulationstation/LICENSES/* +/usr/local/share/emulationstation/resources/* +/usr/local/share/emulationstation/themes/* +/usr/local/share/pixmaps/emulationstation.svg ``` ES will look in the following locations for the resources, in the listed order: diff --git a/es-app/CMakeLists.txt b/es-app/CMakeLists.txt index e133a7113..67c51a23f 100644 --- a/es-app/CMakeLists.txt +++ b/es-app/CMakeLists.txt @@ -124,6 +124,12 @@ if(WIN32) else() install(TARGETS emulationstation RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin) + install(FILES ${CMAKE_SOURCE_DIR}/LICENSE + DESTINATION ${CMAKE_INSTALL_PREFIX}/share/emulationstation) + install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/emulationstation.desktop + DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications) + install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/emulationstation.svg + DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps) install(DIRECTORY ${CMAKE_SOURCE_DIR}/LICENSES DESTINATION ${CMAKE_INSTALL_PREFIX}/share/emulationstation) install(DIRECTORY ${CMAKE_SOURCE_DIR}/themes diff --git a/es-app/src/emulationstation.desktop b/es-app/src/emulationstation.desktop new file mode 100644 index 000000000..d6c8029b9 --- /dev/null +++ b/es-app/src/emulationstation.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Version=1.0 +Name=EmulationStation Desktop Edition +GenericName=EmulationStation +Type=Application +Comment=EmulationStation Emulator Front-end +Icon=emulationstation +Exec=emulationstation +Terminal=false +StartupNotify=true +Hidden=false +Keywords=emulator;front-end;frontend; +Categories=Game;Emulator; diff --git a/es-app/src/emulationstation.svg b/es-app/src/emulationstation.svg new file mode 100644 index 000000000..52c043e26 --- /dev/null +++ b/es-app/src/emulationstation.svg @@ -0,0 +1,179 @@ + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + +