[client,common] add WITH_INSTALL_CLIENT_DESKTOP_FILES

This new CMake option allows installing .desktop files and application
icons if turned on.
This commit is contained in:
akallabeth
2024-08-09 14:56:06 +02:00
parent 5538681fc3
commit c377b0ce86
8 changed files with 74 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=@FREERDP_APP_NAME@
Comment=Access remote desktops with FreeRDP
Categories=GTK;GNOME;X-GNOME-NetworkSettings;Network;
Keywords=remote desktop;rdp;
TryExec=@FREERDP_BIN_NAME@
Exec=@FREERDP_BIN_NAME@ %U
Icon=FreeRDP
MimeType=x-scheme-handler/rdp;
Actions=Edit;
Terminal=true
StartupNotify=true
NoDisplay=true
X-Desktop-File-Install-Version=0.24

View File

@@ -0,0 +1,14 @@
[Desktop Entry]
Name=@FREERDP_APP_NAME@
X-GNOME-FullName=FreeRDP Remote Desktop Client
GenericName=FreeRDP RDP Client
Comment=Connect to RDP servers for remote work or administration
Exec=@FREERDP_BIN_NAME@
Icon=FreeRDP
Terminal=true
Type=Application
Keywords=remote desktop;rdp;
Categories=GTK;GNOME;X-GNOME-NetworkSettings;Network;
MimeType=x-scheme-handler/rdp;
StartupNotify=true
StartupWMClass=com.freerdp.FreeRDP