#6012 Use different synergy desktop files for v1 and v2
This commit is contained in:
parent
485a7fff03
commit
86d6697dea
|
@ -387,7 +387,11 @@ message (STATUS "NOT configuring the v1 installer")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||||
install(FILES res/synergy.desktop DESTINATION share/applications)
|
if("${VERSION_MAJOR}" STREQUAL "2")
|
||||||
|
install(FILES res/synergy2.desktop DESTINATION share/applications)
|
||||||
|
else()
|
||||||
|
install(FILES res/synergy.desktop DESTINATION share/applications)
|
||||||
|
|
||||||
install(FILES res/synergy.svg DESTINATION share/icons)
|
install(FILES res/synergy.svg DESTINATION share/icons)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ Version=1.0
|
||||||
Name=Synergy
|
Name=Synergy
|
||||||
Comment=Keyboard and mouse sharing solution
|
Comment=Keyboard and mouse sharing solution
|
||||||
Path=/usr/bin
|
Path=/usr/bin
|
||||||
Exec=/usr/bin/synergy2
|
Exec=/usr/bin/synergy
|
||||||
Icon=/usr/share/icons/synergy.svg
|
Icon=/usr/share/icons/synergy.svg
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Categories=Network;
|
Categories=Network;
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Version=1.0
|
||||||
|
Name=Synergy
|
||||||
|
Comment=Keyboard and mouse sharing solution
|
||||||
|
Path=/usr/bin
|
||||||
|
Exec=/usr/bin/synergy2
|
||||||
|
Icon=/usr/share/icons/synergy.svg
|
||||||
|
Terminal=false
|
||||||
|
Categories=Network;
|
||||||
|
|
Loading…
Reference in New Issue