suyu-os/airootfs/usr/local/bin/run-game
ahmed2007 5a7d6cb92c 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
2024-09-21 00:45:36 +02:00

12 lines
215 B
Bash

#!/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