Added some other mods
This commit is contained in:
parent
29f935121a
commit
e56a0823f2
13
init.sh
13
init.sh
@ -5,23 +5,29 @@ if [ ! -d /data/Stardew ]; then
|
|||||||
echo "Downloading Game"
|
echo "Downloading Game"
|
||||||
mkdir -p /data/Stardew
|
mkdir -p /data/Stardew
|
||||||
mkdir -p /data/nexus
|
mkdir -p /data/nexus
|
||||||
wget https://eris.cc/Stardew_latest.tar -O /data/latest.tar
|
wget https://eris.cc/Stardew_latest.tar -qO /data/latest.tar
|
||||||
|
|
||||||
echo "Unpacking"
|
echo "Unpacking"
|
||||||
tar xvf /data/latest.tar -C /data/Stardew
|
tar xvf /data/latest.tar -C /data/Stardew
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -f /data/nexus.tar ]; then
|
||||||
echo "Downloading Modloader"
|
echo "Downloading Modloader"
|
||||||
wget https://github.com/Pathoschild/SMAPI/releases/download/2.11.1/SMAPI-2.11.1-installer.zip -O nexus.zip
|
wget https://github.com/Pathoschild/SMAPI/releases/download/2.11.1/SMAPI-2.11.1-installer.zip -qO /data/nexus.zip
|
||||||
|
|
||||||
echo "Unpacking Modloader"
|
echo "Unpacking Modloader"
|
||||||
unzip nexus.zip -d /data/nexus/
|
unzip nexus.zip -d /data/nexus/
|
||||||
|
|
||||||
echo "Installing Modloader"
|
echo "Installing Modloader"
|
||||||
/bin/bash -c "echo -e \"2\n/data/Stardew/Stardew\ Valley\n1\n\" | /usr/bin/mono /data/nexus/SMAPI\ 2.11.1\ installer/internal/unix-install.exe"
|
/bin/bash -c "echo -e \"2\n/data/Stardew/Stardew\ Valley\n1\n\" | /usr/bin/mono /data/nexus/SMAPI\ 2.11.1\ installer/internal/unix-install.exe"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -f /data/mods.tar -o ! -f /data/always.zip ]; then
|
||||||
echo "Downloading Always On Mod"
|
echo "Downloading Always On Mod"
|
||||||
wget https://eris.cc/always.zip -O /data/always.zip
|
wget https://eris.cc/always.zip -qO /data/always.zip
|
||||||
|
wget https://eris.cc/mods.tar -qO /data/mods.tar
|
||||||
unzip /data/always.zip -d /data/Stardew/Stardew\ Valley/Mods
|
unzip /data/always.zip -d /data/Stardew/Stardew\ Valley/Mods
|
||||||
|
tar xvf /data/mods.tar -C /data/Stardew/Stardew\ Valley/Mods/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
apt-get install -y xterm i3
|
apt-get install -y xterm i3
|
||||||
@ -30,5 +36,6 @@ Xvfb :10 -screen 0 1000x1000x24 -ac &
|
|||||||
export DISPLAY=:10.0
|
export DISPLAY=:10.0
|
||||||
x11vnc -display :10 -forever -shared -loop &
|
x11vnc -display :10 -forever -shared -loop &
|
||||||
i3 &
|
i3 &
|
||||||
|
|
||||||
TERM=xterm
|
TERM=xterm
|
||||||
/data/Stardew/Stardew\ Valley/StardewValley
|
/data/Stardew/Stardew\ Valley/StardewValley
|
||||||
|
Loading…
Reference in New Issue
Block a user