From ef1c67a116e899e3e4fe59b7517065397063a926 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 23 Dec 2024 21:36:26 -0500 Subject: [PATCH] Removed unneeded pushd. --- linux-game-manager.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/linux-game-manager.sh b/linux-game-manager.sh index 60f1d0c..e747b04 100755 --- a/linux-game-manager.sh +++ b/linux-game-manager.sh @@ -522,15 +522,14 @@ game_launcher() { if [[ $menuCode -eq 1 ]]; then exit 0 fi - pushd "${selectedGame%/*}" if file "${selectedGame##*/}" | grep -q "ELF.*x86-64"; then if [[ "$(uname -m)" != "x86_64" ]]; then exec FEXLoader -- "${selectedGame#./}" else - . "./${selectedGame##*/}" + . "${selectedGame}" fi else - . "./${selectedGame##*/}" + . "${selectedGame}" fi exit 0 }