TinyLifeExampleMod/Run.sh
2021-04-22 20:01:01 +02:00

11 lines
273 B
Bash

#!/bin/bash
# move to the script directory
cd "$(dirname "$0")"
# build the mod
dotnet build
# copy the mod to the mods folder
cp ./bin/Debug/net5.0/* "$HOME/.local/share/Tiny Life/Mods" -r
# run the game
dir=$(<"$HOME/.local/share/Tiny Life/GameDir")
cd $dir
"./Tiny Life"