diff --git a/gamelauncher.sh b/gamelauncher.sh index 6a27f3f..27027eb 100755 --- a/gamelauncher.sh +++ b/gamelauncher.sh @@ -2,8 +2,8 @@ set -x -if [[ -z $1 ]] || [[ -z $2 ]] || [[ -z $WINEPREFIX ]] || [[ -z $GAMEID ]] || [[ -z $PROTONPATH ]]; then - echo 'Usage: WINEPREFIX= GAMEID= PROTONPATH= ./gamelauncher.sh ' +if [[ -z $1 ]] || [[ -z $WINEPREFIX ]] || [[ -z $GAMEID ]] || [[ -z $PROTONPATH ]]; then + 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