mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-09 21:25:55 +08:00
#6012 Use different synergy desktop files for v1 and v2
This commit is contained in:
@@ -387,7 +387,11 @@ message (STATUS "NOT configuring the v1 installer")
|
||||
endif()
|
||||
|
||||
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)
|
||||
endif()
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ Version=1.0
|
||||
Name=Synergy
|
||||
Comment=Keyboard and mouse sharing solution
|
||||
Path=/usr/bin
|
||||
Exec=/usr/bin/synergy2
|
||||
Exec=/usr/bin/synergy
|
||||
Icon=/usr/share/icons/synergy.svg
|
||||
Terminal=false
|
||||
Categories=Network;
|
||||
|
||||
11
res/synergy2.desktop
Normal file
11
res/synergy2.desktop
Normal file
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user