Fix second check for gog installer in other location.

This commit is contained in:
Michael Taboada 2024-12-29 12:27:34 -08:00
parent b489bb9a46
commit 27fac7e007

View File

@ -25,7 +25,7 @@ else
# GOG Installation
get_installer "$gogFileName" "https://www.gog.com/en/game/slay_the_spire"
DISPLAY="" find ~/Downloads -maxdepth 1 -type f -name "$gogFileName" -exec bash "{}" \; ||
find ~/Desktop -maxdepth 1 -type f -name "$gogFileName" -exec bash "{}" \;
DISPLAY="" find ~/Desktop -maxdepth 1 -type f -name "$gogFileName" -exec bash "{}" \;
if [[ $? -eq 0 ]]; then
ln -sf "${HOME}/GOG Games/Slay the Spire/game" "${installPath}/SlayTheSpire" ||
{ dialog --backtitle "Linux Game Manager" \