From 54e2928baf281a02fd751e7154cebb5a68b589ab Mon Sep 17 00:00:00 2001 From: Mathieu Comandon Date: Wed, 24 Jan 2024 04:41:10 -0800 Subject: [PATCH] Remove check for $2 since proton path was removed from arguments --- gamelauncher.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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