TinyLifeExampleMod/Run.sh

11 lines
290 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
dotnet build
# copy the mod to the mods folder
2021-12-08 23:34:22 +01:00
cp ./bin/Debug/net6.0/* "$HOME/.local/share/Tiny Life/Mods" -r
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")
2021-02-17 18:25:45 +01:00
cd $dir
2022-01-01 17:06:02 +01:00
"./Tiny Life" -v --skip-splash