qgroundcontrol-start.sh 371 Bytes
Newer Older
1
#!/bin/sh
2
HERE="$(dirname "$(readlink -f "${0}")")"
3
export LD_LIBRARY_PATH="${HERE}/usr/lib/x86_64-linux-gnu":"${HERE}/Qt/libs":$LD_LIBRARY_PATH
4 5
export QML2_IMPORT_PATH="${HERE}/Qt/qml"
export QT_PLUGIN_PATH="${HERE}/Qt/plugins"
6 7 8 9

# hack until icon issue with AppImage is resolved
mkdir -p ~/.icons && cp ${HERE}/qgroundcontrol.png ~/.icons

10
"${HERE}/qgroundcontrol" "$@"