mirror of
https://github.com/bleackstorm/SteamFrame-FPV-Control-Center.git
synced 2026-12-03 07:31:57 +01:00
feat: add desktop launcher, app icon, and launch script
This commit is contained in:
1 parent
4459f5ffa4
commit
90f80ec5cd
3 files changed
+27
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
@@ -0,0 +1,14 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# SteamFrame FPV Launcher
|
||||||
|
set -e
|
||||||
|
|
||||||
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
|
||||||
|
cd "$DIR"
|
||||||
|
|
||||||
|
# Vérifier si le binaire release existe, sinon le compiler
|
||||||
|
if [ ! -f "$DIR/target/release/steamframe-fpv" ]; then
|
||||||
|
echo "Compilation initiale de SteamFrame FPV en mode Release..."
|
||||||
|
cargo build --release
|
||||||
|
fi
|
||||||
|
|
||||||
|
exec "$DIR/target/release/steamframe-fpv" "$@"
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Type=Application
|
||||||
|
Name=SteamFrame FPV
|
||||||
|
GenericName=Station FPV & Centre de contrôle
|
||||||
|
Comment=Streaming vidéo ultra-faible latence et contrôle FPV pour Radxa Zero 3W et RadioMaster Nomad
|
||||||
|
Exec=/home/bleack/projects/steamframe_fpv/launch.sh
|
||||||
|
Path=/home/bleack/projects/steamframe_fpv
|
||||||
|
Icon=/home/bleack/projects/steamframe_fpv/assets/icon.png
|
||||||
|
Terminal=false
|
||||||
|
Categories=Video;AudioVideo;Utility;
|
||||||
|
StartupNotify=true
|
||||||
|
StartupWMClass=steamframe-fpv
|
||||||
Reference in new issue
Block a user