Browse Source

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 <thopiekar@gmail.com>
QGC4.4
Thomas Karl Pietrowski 4 years ago committed by Patrick José Pereira
parent
commit
32a2bb8f90
  1. 3
      CMakeLists.txt
  2. 9
      deploy/qgroundcontrol-clean.desktop

3
CMakeLists.txt

@ -199,8 +199,9 @@ if(ENABLE_INSTALL_TARGET)
DESTINATION ${CMAKE_INSTALL_DATADIR}/qgroundcontrol DESTINATION ${CMAKE_INSTALL_DATADIR}/qgroundcontrol
) )
install( install(
FILES ${CMAKE_SOURCE_DIR}/deploy/qgroundcontrol.desktop FILES ${CMAKE_SOURCE_DIR}/deploy/qgroundcontrol-clean.desktop
DESTINATION ${CMAKE_INSTALL_DATADIR}/applications DESTINATION ${CMAKE_INSTALL_DATADIR}/applications
RENAME qgroundcontrol.desktop
) )
install( install(
FILES ${CMAKE_SOURCE_DIR}/resources/icons/qgroundcontrol.png FILES ${CMAKE_SOURCE_DIR}/resources/icons/qgroundcontrol.png

9
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;
Loading…
Cancel
Save