mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-13 20:41:58 +02:00
oops, Kuba was right, version is not tomahawk version
This commit is contained in:
parent
231c2569f6
commit
3dc317377f
@ -1,6 +1,6 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Version=TOMAHAWK_VERSION
|
||||
Version=1.0
|
||||
Name=Tomahawk
|
||||
GenericName=Music Player
|
||||
TryExec=tomahawk
|
||||
|
@ -20,12 +20,4 @@ ENDFOREACH( _file )
|
||||
|
||||
INSTALL( FILES ${CMAKE_SOURCE_DIR}/data/icons/tomahawk-icon.svg RENAME tomahawk.svg DESTINATION share/icons/hicolor/scalable )
|
||||
|
||||
FILE(READ ${CMAKE_SOURCE_DIR}/admin/unix/tomahawk.desktop desktopfile)
|
||||
|
||||
STRING( REPLACE "TOMAHAWK_VERSION"
|
||||
${TOMAHAWK_VERSION}
|
||||
edited_desktopfile # save in this variable
|
||||
"${desktopfile}" # from the contents of this var
|
||||
)
|
||||
FILE( WRITE ${CMAKE_BINARY_DIR}/tomahawk.desktop "${edited_desktopfile}" )
|
||||
INSTALL( FILES ${CMAKE_BINARY_DIR}/tomahawk.desktop DESTINATION share/applications )
|
||||
INSTALL( FILES ${CMAKE_SOURCE_DIR}/admin/unix/tomahawk.desktop DESTINATION share/applications )
|
||||
|
Loading…
x
Reference in New Issue
Block a user