Started work on Slay the Spire.
This commit is contained in:
@ -479,6 +479,7 @@ gameList=(
|
||||
"QuentinC Play Room"
|
||||
"Periphery Synthetic EP"
|
||||
"S.E.A."
|
||||
#"Slay the Spire"
|
||||
"Slay the Text"
|
||||
"SoundRTS"
|
||||
"soundStrider"
|
||||
@ -695,6 +696,34 @@ case "${game}" in
|
||||
unzip -d "${installPath}/S.E.A." "${cache}/SEA-linux-x64.zip"
|
||||
add_launcher "${installPath}/S.E.A./SEA"
|
||||
;;
|
||||
"Slay the Spire")
|
||||
if ! [[ -f ~/Downloads/slay_the_spire_2020_12_15_8735c9fe3cc2280b76aa3ec47c953352a7df1f65_43444.sh ]] && ! [[ -f ~/Desktop/slay_the_spire_2020_12_15_8735c9fe3cc2280b76aa3ec47c953352a7df1f65_43444.sh ]]; then
|
||||
check_dependencies steamcmd
|
||||
appId="646570"
|
||||
echo "Please enter Steam user name:"
|
||||
read -er steamUser
|
||||
echo "Please enter Steam password:"
|
||||
read -er steamPass
|
||||
steamcmd +@sSteamCmdForcePlatformType windows +login "$steamUser" "$steamPass" +force_install_dir "${HOME}/.local/games/SlayTheSpire" +app_update "$appId" +quit
|
||||
else
|
||||
DISPLAY=""
|
||||
find ~/Downloads -maxdepth 1 -type f -name './slay_the_spire_2020_12_15_8735c9fe3cc2280b76aa3ec47c953352a7df1f65_43444.sh' -exec bash "{}" \; ||
|
||||
find ~/Desktop -maxdepth 1 -type f -name './slay_the_spire_2020_12_15_8735c9fe3cc2280b76aa3ec47c953352a7df1f65_43444.sh' -exec bash "{}" \;
|
||||
fi
|
||||
# Move files into place
|
||||
mkdir -p ~/.config/ModTheSpire/
|
||||
if [[ -f ~"/.config/ModTheSpire/mod_lists.json" ]]; then
|
||||
dialog --backtitle "Linux Game manager" \
|
||||
--yesno "Existing mod_lists.json file found. Would you like to replace it?" -1 -1 --stdout &&
|
||||
cp -v .files/SlayTheSpire/mod_lists.json ~"/.config/ModTheSpire/mod_lists.json"
|
||||
else
|
||||
cp -v .files/SlayTheSpire/mod_lists.json ~"/.config/ModTheSpire/mod_lists.json"
|
||||
fi
|
||||
cp -v .files/SlayTheSpire/MTS.sh ~/.local/games/SlayTheSpire/
|
||||
launcherPath="$(readlink -f "$0")"
|
||||
launcherPath="${launcherPath%/*}"
|
||||
add_launcher "${launcherPath}/.scripts/SlayTheSpire.sh"
|
||||
;;
|
||||
"Slay the Text")
|
||||
check_dependencies python-ansimarkup:ansimarkup
|
||||
git -C "${installPath}/" clone https://github.com/Difio3333/slaythetext.git | \
|
||||
|
Reference in New Issue
Block a user