From 3493d33490bbd73047e55160fe1929e54babd177 Mon Sep 17 00:00:00 2001 From: GloriousEggroll Date: Wed, 24 Jan 2024 04:13:47 -0700 Subject: [PATCH] fixup syntax examples --- README.md | 4 ++-- gamelauncher.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d2acb24..2d192d3 100755 --- a/README.md +++ b/README.md @@ -31,9 +31,9 @@ When you use `gamelauncher.sh` to run a game, it uses the specified WINEPREFIX, # HOW DO I USE IT? Usage: - `WINEPREFIX=/path-to-prefix GAMEID=makeoneup ./gamelauncher.sh ` + `WINEPREFIX= GAMEID= PROTONPATH= ./gamelauncher.sh ` Ex: - `WINEPREFIX=$HOME/Games/epic-games-store GAMEID=egs ./gamelauncher.sh "$HOME/.steam/steam/compatibilitytools.d/GE-Proton8-28" "$HOME/Games/epic-games-store/drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe" "-opengl -SkipBuildPatchPrereq"` + `WINEPREFIX=$HOME/Games/epic-games-store GAMEID=egs PROTONPATH="$HOME/.steam/steam/compatibilitytools.d/GE-Proton8-28" ./gamelauncher.sh "$HOME/Games/epic-games-store/drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe" "-opengl -SkipBuildPatchPrereq"` # WHAT DOES THIS MEAN FOR OTHER LAUNCHERS (lutris/bottles/heroic/legendary,etc): diff --git a/gamelauncher.sh b/gamelauncher.sh index bfb724b..6a27f3f 100755 --- a/gamelauncher.sh +++ b/gamelauncher.sh @@ -3,7 +3,7 @@ set -x if [[ -z $1 ]] || [[ -z $2 ]] || [[ -z $WINEPREFIX ]] || [[ -z $GAMEID ]] || [[ -z $PROTONPATH ]]; then - echo "Usage: WINEPREFIX=/path-to-prefix GAMEID=makeoneup PROTONPATH= ./gamelauncher.sh " + echo 'Usage: WINEPREFIX= GAMEID= PROTONPATH= ./gamelauncher.sh ' echo 'Ex:' echo 'WINEPREFIX=$HOME/Games/epic-games-store GAMEID=egs PROTONPATH="$HOME/.steam/steam/compatibilitytools.d/GE-Proton8-28" ./gamelauncher.sh "$HOME/Games/epic-games-store/drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe" "-opengl -SkipBuildPatchPrereq"' exit 1