TinyLifeExampleMod/Run.sh
2021-01-11 22:28:56 +01:00

12 lines
No EOL
269 B
Bash

#!/bin/bash
GAME_DIR="path/to/Tiny Life"
# move to the script directory
cd "$(dirname "$0")"
# 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"
"./Tiny Life.exe"