mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 04:43:34 +08:00
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
export LD_LIBRARY_PATH="$APPDIR/usr/lib:$LD_LIBRARY_PATH"
|
||||
WORKDIR=$(mktemp -d)
|
||||
cp -a "$APPDIR/usr/share/px4/romfs/." "$WORKDIR"
|
||||
export PATH="$WORKDIR/bin:$WORKDIR:$PATH"
|
||||
exec "$APPDIR/usr/bin/px4" -w "$WORKDIR" "$@"
|
||||
@@ -0,0 +1,6 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=PX4 Autopilot SITL
|
||||
Exec=px4 %F
|
||||
Icon=px4
|
||||
Categories=Development;
|
||||
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 25 KiB |
Reference in New Issue
Block a user