TinyLifeExampleMod/Run.bat

11 lines
311 B
Batchfile
Raw 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
2022-01-08 16:13:14 +01:00
dotnet build || exit /b
2021-02-17 18:25:45 +01:00
rem copy the mod to the mods folder
2021-12-08 23:34:22 +01:00
robocopy ./bin/Debug/net6.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%
2022-01-01 17:06:02 +01:00
"Tiny Life.exe" -v --skip-splash