diff --git a/NonSteamLaunchers.sh b/NonSteamLaunchers.sh index e85649d..3f53492 100644 --- a/NonSteamLaunchers.sh +++ b/NonSteamLaunchers.sh @@ -26,10 +26,20 @@ else use_separate_appids=false fi -( + echo "0" echo "# Detecting and Installing GE-Proton" +# check to make sure compatabilitytools.d exists and makes it if it doesnt + if [ ! -d "$HOME/.steam/root/compatibilitytools.d" ]; then + mkdir -p "$HOME/.steam/root/compatibilitytools.d" +fi + + + +( + + # Create NonSteamLaunchersInstallation subfolder in Downloads folder mkdir -p ~/Downloads/NonSteamLaunchersInstallation @@ -40,6 +50,13 @@ proton_dir=$(find ~/.steam/root/compatibilitytools.d -maxdepth 1 -type d -name " ge_proton_url1=https://github.com/GloriousEggroll/proton-ge-custom/releases/latest/download/GE-Proton.tar.gz ge_proton_url2=https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton7-55/GE-Proton7-55.tar.gz + + + + + + + # Check if GE-Proton is installed if [ -z "$proton_dir" ]; then # Download GE-Proton using the first URL @@ -292,6 +309,8 @@ while true; do # Compare the size of the file with the expected size if [ "$file_size" -eq "$expected_size" ]; then sleep 2 + + # The sizes match echo "The size of the GalaxySetup.exe file matches the expected size." break