mirror of
https://github.com/Ellpeck/TinyLifeExampleMod.git
synced 2024-11-25 05:08:35 +01:00
11 lines
No EOL
311 B
Batchfile
11 lines
No EOL
311 B
Batchfile
@echo off
|
|
rem move to the script directory
|
|
cd /d "%~dp0"
|
|
rem build the mod
|
|
dotnet build || exit /b
|
|
rem copy the mod to the mods folder
|
|
robocopy ./bin/Debug/net6.0/ "%LOCALAPPDATA%/Tiny Life/Mods" /e /is
|
|
rem run the game
|
|
set /p dir=<"%LOCALAPPDATA%/Tiny Life/GameDir"
|
|
cd /d %dir%
|
|
"Tiny Life.exe" -v --skip-splash |