mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 13:47:57 +03:00
prepare desktop for flatpak
This commit is contained in:
parent
a37d98b6f2
commit
0c86016a35
3 changed files with 6 additions and 5 deletions
|
@ -313,16 +313,17 @@ elseif(TARGET_PLATFORM_UNIX)
|
||||||
PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ
|
PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ
|
||||||
RENAME Play
|
RENAME Play
|
||||||
)
|
)
|
||||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/../../icons/icon_base.png
|
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/../../icons/icon_base_512x512.png
|
||||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/1024x1024/apps
|
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/512x512/apps
|
||||||
RENAME Play.png
|
RENAME org.purei.Play.png
|
||||||
)
|
)
|
||||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/../../icons/icon.svg
|
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/../../icons/icon.svg
|
||||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/scalable/apps
|
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/scalable/apps
|
||||||
RENAME Play.svg
|
RENAME org.purei.Play.svg
|
||||||
)
|
)
|
||||||
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/../../installer_unix/Play.desktop
|
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/../../installer_unix/Play.desktop
|
||||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications
|
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications
|
||||||
|
RENAME org.purei.Play.desktop
|
||||||
)
|
)
|
||||||
else()
|
else()
|
||||||
add_executable(Play ${QT_SOURCES} ${QT_MOC_SRCS} ${QT_RES_SOURCES} ${QT_UI_HEADERS})
|
add_executable(Play ${QT_SOURCES} ${QT_MOC_SRCS} ${QT_RES_SOURCES} ${QT_UI_HEADERS})
|
||||||
|
|
BIN
icons/icon_base_512x512.png
Normal file
BIN
icons/icon_base_512x512.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 65 KiB |
|
@ -2,7 +2,7 @@
|
||||||
Name=Play!
|
Name=Play!
|
||||||
TryExec=Play
|
TryExec=Play
|
||||||
Exec=Play
|
Exec=Play
|
||||||
Icon=Play
|
Icon=org.purei.Play
|
||||||
Version=1.0
|
Version=1.0
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue