mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-26 18:19:05 +00:00
Updated musikcube.desktop for the snap.
This commit is contained in:
parent
6793051504
commit
0461e59b3d
@ -238,7 +238,11 @@ file(COPY ${locales} DESTINATION bin/locales)
|
||||
install(FILES ${locales} DESTINATION share/musikcube/locales)
|
||||
|
||||
if (CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||
file(GLOB linux_share_applications "src/musikcube/data/linux/share/applications/*")
|
||||
if (${ENABLE_SNAP} MATCHES "true")
|
||||
file(GLOB linux_share_applications "src/musikcube/data/linux/share/applications/musikcube.desktop")
|
||||
else()
|
||||
file(GLOB linux_share_applications "src/musikcube/data/linux/share/applications/musikcube.snap.desktop")
|
||||
endif()
|
||||
install(FILES ${linux_share_applications} DESTINATION share/applications/)
|
||||
file(GLOB linux_share_icons_48 "src/musikcube/data/linux/share/icons/hicolor/48x48/apps/*")
|
||||
install(FILES ${linux_share_icons_48} DESTINATION share/icons/hicolor/48x48/apps/)
|
||||
|
@ -4,9 +4,9 @@ Type=Application
|
||||
Name=musikcube
|
||||
GenericName=musikcube
|
||||
Comment=terminal-based music player
|
||||
Exec=musikcube %U
|
||||
TryExec=musikcube
|
||||
Icon=musikcube
|
||||
Exec=musikcube.app %U
|
||||
TryExec=/snap/bin/musikcube.app
|
||||
Icon=${SNAP}/usr/share/icons/hicolor/128x128/apps/musikcube.png
|
||||
Terminal=true
|
||||
Categories=AudioVideo;Player;Audio;
|
||||
StartupNotify=false
|
||||
|
@ -0,0 +1,13 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Name=musikcube
|
||||
GenericName=musikcube
|
||||
Comment=terminal-based music player
|
||||
Exec=musikcube.app %U
|
||||
TryExec=/snap/bin/musikcube.app
|
||||
Icon=${SNAP}/usr/share/icons/hicolor/128x128/apps/musikcube.png
|
||||
Terminal=true
|
||||
Categories=AudioVideo;Player;Audio;
|
||||
StartupNotify=false
|
||||
StartupWMClass=musikcube
|
Loading…
Reference in New Issue
Block a user