mirror of
https://git.suyu.dev/suyu/suyu-os.git
synced 2025-12-21 21:26:12 +01:00
Merge branch 'master' of https://git.suyu.dev/suyu/suyu-os
This commit is contained in:
commit
83f588f5b8
9 changed files with 108 additions and 3 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…
Add table
Add a link
Reference in a new issue