Skip to content

Instantly share code, notes, and snippets.

@ryanrudolfoba
Last active September 5, 2024 12:25
Show Gist options
  • Save ryanrudolfoba/ddf40f222b13d74e51adba0b3dff2f8e to your computer and use it in GitHub Desktop.
Save ryanrudolfoba/ddf40f222b13d74e51adba0b3dff2f8e to your computer and use it in GitHub Desktop.
Roblox Player and Roblox Studio - Custom Launcher for SteamOS via Vinegar
#!/bin/bash
# Roblox Player and Roblox Studio - Custom Launcher for SteamOS via Vinegar
# script by ryanrudolf
# https://github.com/ryanrudolfoba
# https://youtube.com/@10minutesteamdeckgamer
#
# script will automatically update the vinegar flatpak to the latest version
# and show a minimalist menu to choose between Roblox Player or Roblox Studio.
#
flatpak install -y org.vinegarhq.Vinegar > /dev/null
Choice=$(zenity --width 800 --height 250 --list --radiolist --multiple --title "Roblox Launcher Script by ryanrudolf" \
--column "Select One" \
--column "Option" \
--column "Description" \
TRUE Player "Launch Roblox Player to play Roblox games!" \
FALSE Studio "Launch Roblox Studio to create Roblox games!" \
FALSE EXIT "Exit and go back to SteamOS.")
if [ $? -eq 1 ] || [ "$Choice" == "EXIT" ]
then
exit
elif [ "$Choice" == "Player" ]
then
flatpak run org.vinegarhq.Vinegar player run -app $@
elif [ "$Choice" == "Studio" ]
then
flatpak run org.vinegarhq.Vinegar studio run -app $@
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment