diff --git a/CMakeLists.txt b/CMakeLists.txt index d788701..eb58c9d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -222,9 +222,13 @@ if(UNIX AND NOT APPLE) include(GNUInstallDirs) install(TARGETS "${PROJECT_NAME}" RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}") install(FILES "/Platform/Linux/${PROJECT_NAME}.desktop" DESTINATION "share/applications") - install(FILES "/Platform/Linux/${PROJECT_NAME}.metainfo.xml" DESTINATION "share/metainfo") - foreach(S 16 32 48 128 192) - install(FILES "${PROJECT_NAME}/Icon_${S}x${S}.png" DESTINATION - "share/icons/hicolor/${S}x${S}/apps" RENAME "${PROJECT_NAME}.png") - endforeach(S) + install(FILES "/Platform/Linux/${PROJECT_NAME}.metainfo.xml" DESTINATION "share/metainfo") + install(FILES "${PROJECT_NAME}/Icon_16x16.png" DESTINATION + "share/icons/hicolor/16x16/apps" RENAME "${PROJECT_NAME}.png") + install(FILES "${PROJECT_NAME}/Icon_32x32.png" DESTINATION + "share/icons/hicolor/32x32/apps" RENAME "${PROJECT_NAME}.png") + install(FILES "${PROJECT_NAME}/Icon_48x48.png" DESTINATION + "share/icons/hicolor/48x48/apps" RENAME "${PROJECT_NAME}.png") + install(FILES "${PROJECT_NAME}/Icon_192x192.png" DESTINATION + "share/icons/hicolor/192x192/apps" RENAME "${PROJECT_NAME}.png") endif() diff --git a/Platform/Linux/SpaceCadetPinball.metainfo.xml b/Platform/Linux/SpaceCadetPinball.metainfo.xml index 5d8ebcb..dfed589 100644 --- a/Platform/Linux/SpaceCadetPinball.metainfo.xml +++ b/Platform/Linux/SpaceCadetPinball.metainfo.xml @@ -21,10 +21,13 @@ - https://raw.githubusercontent.com/k4zmu2a/SpaceCadetPinball/master/Screenshots/screenshot-1.jpg + https://github.com/kowalski7cc/com.github.k4zmu2a.spacecadetpinball/blob/main/screenshots/screenshot-1.png?raw=true - https://raw.githubusercontent.com/k4zmu2a/SpaceCadetPinball/master/Screenshots/screenshot-2.jpg + https://github.com/kowalski7cc/com.github.k4zmu2a.spacecadetpinball/blob/main/screenshots/screenshot-2.png?raw=true + + + https://github.com/kowalski7cc/com.github.k4zmu2a.spacecadetpinball/blob/main/screenshots/screenshot-3.png?raw=true diff --git a/Screenshots/screenshot-1.jpg b/Screenshots/screenshot-1.jpg deleted file mode 100644 index 01a5938..0000000 Binary files a/Screenshots/screenshot-1.jpg and /dev/null differ diff --git a/Screenshots/screenshot-2.jpg b/Screenshots/screenshot-2.jpg deleted file mode 100644 index 6067a26..0000000 Binary files a/Screenshots/screenshot-2.jpg and /dev/null differ diff --git a/SpaceCadetPinball/Icon_128x128.png b/SpaceCadetPinball/Icon_128x128.png deleted file mode 100644 index c131f05..0000000 Binary files a/SpaceCadetPinball/Icon_128x128.png and /dev/null differ diff --git a/SpaceCadetPinball/winmain.cpp b/SpaceCadetPinball/winmain.cpp index c728af9..8650159 100644 --- a/SpaceCadetPinball/winmain.cpp +++ b/SpaceCadetPinball/winmain.cpp @@ -253,9 +253,6 @@ int winmain::WinMain(LPCSTR lpCmdLine) RenderUi(); SDL_RenderClear(renderer); - // Alternative clear hack, clear might fail on some systems - // Todo: remove original clear, if save for all platforms - SDL_RenderFillRect(renderer, nullptr); render::PresentVScreen(); ImGui::Render();