Fixes to the Slay the Spire installer.
This commit is contained in:
parent
c70c50255f
commit
a624691b0d
@ -17,7 +17,7 @@ else
|
|||||||
ln -sf "${HOME}/GOG Games/Slay the Spire/game" "${installPath}/SlayTheSpire" ||
|
ln -sf "${HOME}/GOG Games/Slay the Spire/game" "${installPath}/SlayTheSpire" ||
|
||||||
{ echo "Error creating link."
|
{ echo "Error creating link."
|
||||||
exit 1; }
|
exit 1; }
|
||||||
else
|
else
|
||||||
echo "Error installing game."
|
echo "Error installing game."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
@ -54,5 +54,3 @@ for x in "${!mods[@]}" ; do
|
|||||||
ln -sr "$HOME/.local/games/SlayTheSpire/steamapps/workshop/content/$appId/${mods[$x]}"/* "$HOME/.local/games/SlayTheSpire/mods/"
|
ln -sr "$HOME/.local/games/SlayTheSpire/steamapps/workshop/content/$appId/${mods[$x]}"/* "$HOME/.local/games/SlayTheSpire/mods/"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
launcherPath="$(readlink -f "$0")"
|
|
||||||
launcherPath="${launcherPath%/*}"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user