TinyLifeExampleMod/Run.bat

11 lines
286 B
Batchfile
Raw Permalink Normal View History

2021-02-17 18:25:45 +01:00
@echo off
rem move to the script directory
cd /d "%~dp0"
rem build the mod
dotnet build
rem copy the mod to the mods folder
2021-02-18 19:12:01 +01:00
robocopy ./bin/Debug/net5.0/ "%LOCALAPPDATA%/Tiny Life/Mods" /e /is
2021-02-17 18:25:45 +01:00
rem run the game
set /p dir=<"%LOCALAPPDATA%/Tiny Life/GameDir"
cd /d %dir%
2021-09-20 15:43:20 +02:00
"Tiny Life.exe" -v