From 5a7d6cb92cf6f5cb3953a0ad22e2d24b6bacd531 Mon Sep 17 00:00:00 2001 From: ahmed2007 Date: Sat, 21 Sep 2024 00:45:36 +0200 Subject: [PATCH] add Run-Game sh file for easier debugging could be useful later btw i don't know the roadmap exactly so you can explain it to me later so i can help :D --- airootfs/usr/local/bin/run-game | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 airootfs/usr/local/bin/run-game diff --git a/airootfs/usr/local/bin/run-game b/airootfs/usr/local/bin/run-game new file mode 100644 index 0000000..0b814fa --- /dev/null +++ b/airootfs/usr/local/bin/run-game @@ -0,0 +1,12 @@ +#!/bin/sh + +# Check if at least one argument is provided +if [ $# -lt 1 ]; then + echo "Usage: $0 " + exit 1 +fi + +# Access the first argumen +gameiso=$1 + +exec ./home/Desktop/suyu.desktop $gameiso