mirror of
https://git.suyu.dev/suyu/suyu-os
synced 2024-11-21 06:26:11 -07:00
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
This commit is contained in:
parent
6c3ce0df2d
commit
5a7d6cb92c
1 changed files with 12 additions and 0 deletions
12
airootfs/usr/local/bin/run-game
Normal file
12
airootfs/usr/local/bin/run-game
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Check if at least one argument is provided
|
||||
if [ $# -lt 1 ]; then
|
||||
echo "Usage: $0 </path/to/game.nsp>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Access the first argumen
|
||||
gameiso=$1
|
||||
|
||||
exec ./home/Desktop/suyu.desktop $gameiso
|
Loading…
Reference in a new issue