fixed linux run script

This commit is contained in:
Ell 2021-04-22 20:01:01 +02:00
parent 9d3f0ba1b8
commit 92d7f28fcb

6
Run.sh
View file

@ -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"