From 32a2bb8f906c74fccaeb3e2a695d397be6e9c569 Mon Sep 17 00:00:00 2001 From: Thomas Karl Pietrowski Date: Sun, 28 Mar 2021 21:50:13 +0200 Subject: [PATCH] Linux: Adding separate clean desktop file Holy crap.. There are also injected desktop files at other places. Shoot me, please.. Signed-off-by: Thomas Karl Pietrowski --- CMakeLists.txt | 3 ++- deploy/qgroundcontrol-clean.desktop | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 deploy/qgroundcontrol-clean.desktop diff --git a/CMakeLists.txt b/CMakeLists.txt index a84e280..145ed29 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -199,8 +199,9 @@ if(ENABLE_INSTALL_TARGET) DESTINATION ${CMAKE_INSTALL_DATADIR}/qgroundcontrol ) install( - FILES ${CMAKE_SOURCE_DIR}/deploy/qgroundcontrol.desktop + FILES ${CMAKE_SOURCE_DIR}/deploy/qgroundcontrol-clean.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications + RENAME qgroundcontrol.desktop ) install( FILES ${CMAKE_SOURCE_DIR}/resources/icons/qgroundcontrol.png diff --git a/deploy/qgroundcontrol-clean.desktop b/deploy/qgroundcontrol-clean.desktop new file mode 100644 index 0000000..65c8c9b --- /dev/null +++ b/deploy/qgroundcontrol-clean.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Name=QGroundControl +GenericName=Ground Control Station +Comment=UAS ground control station +Icon=qgroundcontrol +Exec=QGroundControl +Terminal=false +Categories=Utility;