mirror of
https://github.com/Ellpeck/TinyLifeExampleMod.git
synced 2024-11-26 05:28:34 +01:00
fixed linux run script
This commit is contained in:
parent
9d3f0ba1b8
commit
92d7f28fcb
1 changed files with 3 additions and 3 deletions
6
Run.sh
6
Run.sh
|
@ -4,8 +4,8 @@ cd "$(dirname "$0")"
|
||||||
# build the mod
|
# build the mod
|
||||||
dotnet build
|
dotnet build
|
||||||
# copy the mod to the mods folder
|
# copy the mod to the mods folder
|
||||||
cp ./bin/Debug/net5.0/* "$LOCALAPPDATA/Tiny Life/Mods" -r
|
cp ./bin/Debug/net5.0/* "$HOME/.local/share/Tiny Life/Mods" -r
|
||||||
# run the game
|
# run the game
|
||||||
dir=$(<"$LOCALAPPDATA/Tiny Life/GameDir")
|
dir=$(<"$HOME/.local/share/Tiny Life/GameDir")
|
||||||
cd $dir
|
cd $dir
|
||||||
"./Tiny Life.exe"
|
"./Tiny Life"
|
Loading…
Reference in a new issue