Removed unneeded pushd.
This commit is contained in:
parent
a01f34dd02
commit
ef1c67a116
@ -522,15 +522,14 @@ game_launcher() {
|
|||||||
if [[ $menuCode -eq 1 ]]; then
|
if [[ $menuCode -eq 1 ]]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
pushd "${selectedGame%/*}"
|
|
||||||
if file "${selectedGame##*/}" | grep -q "ELF.*x86-64"; then
|
if file "${selectedGame##*/}" | grep -q "ELF.*x86-64"; then
|
||||||
if [[ "$(uname -m)" != "x86_64" ]]; then
|
if [[ "$(uname -m)" != "x86_64" ]]; then
|
||||||
exec FEXLoader -- "${selectedGame#./}"
|
exec FEXLoader -- "${selectedGame#./}"
|
||||||
else
|
else
|
||||||
. "./${selectedGame##*/}"
|
. "${selectedGame}"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
. "./${selectedGame##*/}"
|
. "${selectedGame}"
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user