mirror of
https://github.com/Ellpeck/TinyLifeExampleMod.git
synced 2024-11-25 05:08:35 +01:00
11 lines
No EOL
267 B
Bash
11 lines
No EOL
267 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/* "$LOCALAPPDATA/Tiny Life/Mods" -r
|
|
# run the game
|
|
dir=$(<"$LOCALAPPDATA/Tiny Life/GameDir")
|
|
cd $dir
|
|
"./Tiny Life.exe" |