qgroundcontrol: fixes #49870
The `.desktop` referenced a non existent script to run `QGroundControl`. This commits adds a `sed` command, which replaces the non existent script by the name of the `QGroundControl` binary in the relevant `.desktop` file.
This commit is contained in:
parent
4fc8527697
commit
c26b42be74
@ -37,6 +37,7 @@ stdenv.mkDerivation rec {
|
|||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
mkdir -p $out/share/applications
|
mkdir -p $out/share/applications
|
||||||
|
sed 's/Exec=.*$/Exec=QGroundControl/g' --in-place deploy/qgroundcontrol.desktop
|
||||||
cp -v deploy/qgroundcontrol.desktop $out/share/applications
|
cp -v deploy/qgroundcontrol.desktop $out/share/applications
|
||||||
|
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
|
Loading…
Reference in New Issue
Block a user