updated install games function. Inallations are now handled in files in the .install directory. This may be horribly broken, for stability, use the master branch.
This commit is contained in:
19
.install/Stardew Valley.sh
Normal file
19
.install/Stardew Valley.sh
Normal file
@ -0,0 +1,19 @@
|
||||
check_architecture x86_64
|
||||
DISPLAY=""
|
||||
echo "Please select the default path when prompted by the installer."
|
||||
alert
|
||||
get_installer "stardew_valley_1_5_6_1988831614_53040.sh" "https://www.gog.com/game/stardew_valley"
|
||||
bash "${cache}/stardew_valley_1_5_6_1988831614_53040.sh" ||
|
||||
{ echo "Error installing game."
|
||||
exit 1; }
|
||||
smapiVersion="3.18.4"
|
||||
download "https://github.com/Pathoschild/SMAPI/releases/download/${smapiVersion}/SMAPI-${smapiVersion}-installer.zip" "https://stormgames.wolfe.casa/downloads/stardew-valley/Mods.tar.xz"
|
||||
smapiTmp="$(mktemp -d)"
|
||||
unzip "${cache}/SMAPI-${smapiVersion}-installer.zip" -d "$smapiTmp"
|
||||
echo "Preparing to install mods. Please select the same path as before when prompted."
|
||||
echo "When it says SMAPI has been installed, press enter to finish installation."
|
||||
alert
|
||||
bash "${smapiTmp}/SMAPI ${smapiVersion} installer/install on Linux.sh"
|
||||
ln -sf "${HOME}/GOG Games/Stardew Valley/game" "${installPath}/StardewValley"
|
||||
tar -xvf "${cache}/Mods.tar.xz" -C "${installPath}/StardewValley/"
|
||||
add_launcher "${installPath}/StardewValley/StardewValley"
|
Reference in New Issue
Block a user