Last active
February 23, 2025 13:35
-
-
Save ryanrudolfoba/d4e8fd18ab16abcc6386b789907afde8 to your computer and use it in GitHub Desktop.
hotd4.sh - Sample template for Lindbergh on SteamOS. Use this in conjunction with my SteamOS Lindbergh Install / Upgrade Guide
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
distrobox stop -Y lindbergh | |
sleep 5 | |
xhost +si:localuser:$USER | |
# ask if launch test menu or launch the game | |
LINDBERGH=$(kdialog --radiolist "Select Lindbergh Operation:" \ | |
1 "LAUNCH GAME" on \ | |
2 "TEST MENU" off) | |
if [ $? -eq 1 ] | |
then | |
kdialog --sorry "User pressed CANCEL.\nGoing back to Game Mode." | |
exit | |
elif [ $LINDBERGH -eq 1 ] | |
then | |
distrobox enter lindbergh -e \ | |
"cd /home/deck/SEGA-Lindbergh/games/hotd4/disk0/elf; \ | |
./lindbergh" | |
elif [ $LINDBERGH -eq 2 ] | |
then | |
distrobox enter lindbergh -e \ | |
"cd /home/deck/SEGA-Lindbergh/games/hotd4/disk0/elf; \ | |
./lindbergh -t" | |
fi | |
distrobox stop -Y lindbergh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment