TinyLifeExampleMod/Run.sh

11 lines
300 B
Bash
Raw Normal View History

2020-11-25 00:57:25 +01:00
#!/bin/bash
2021-01-11 22:28:56 +01:00
# move to the script directory
cd "$(dirname "$0")"
2020-11-25 00:57:25 +01:00
# build the mod
2022-01-08 16:13:14 +01:00
dotnet build || exit
2020-11-25 00:57:25 +01:00
# copy the mod to the mods folder
cp -r ./bin/Debug/net6.0/* "$HOME/.local/share/Tiny Life/Mods"
2020-11-25 00:57:25 +01:00
# run the game
2021-04-22 20:01:01 +02:00
dir=$(<"$HOME/.local/share/Tiny Life/GameDir")
cd "$dir"
2022-01-01 17:06:02 +01:00
"./Tiny Life" -v --skip-splash