TinyLifeExampleMod/Run.sh

12 lines
269 B
Bash
Raw Permalink Normal View History

2020-11-25 00:57:25 +01:00
#!/bin/bash
GAME_DIR="path/to/Tiny Life"
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
cp ./bin/Debug/netcoreapp3.0/* "$LOCALAPPDATA/Tiny Life/Mods" -r
# run the game
cd "$GAME_DIR"
2020-11-25 00:57:25 +01:00
"./Tiny Life.exe"