-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathBuild.bat
More file actions
20 lines (16 loc) · 778 Bytes
/
Build.bat
File metadata and controls
20 lines (16 loc) · 778 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@echo off > NUL
echo Verifying game file integrity...
@REM start steam://validate/387990
echo Wait until game files are verified
pause
REM Find Scrap Mechanic installation path
@REM for /f "tokens=*" %%i in ('.build\find_steam_path.bat') do set ScrapMechanicPath=%%i
set ScrapMechanicPath=D:\SteamLibrary\steamapps\common\Scrap Mechanic
REM Run scripts that merge new content with Scrap Mechanic
php .build\merge_iconmaps.php "%ScrapMechanicPath%"
php .build\merge_tools.php "%ScrapMechanicPath%"
php .build\append_scripts.php "%ScrapMechanicPath%"
REM Copy files to Build directory
xcopy . ..\..\..\User_76561199055839592\Mods\sm.interop /y /s /EXCLUDE:.build\buildexclude
copy .build\description.json ..\..\..\User_76561199055839592\Mods\sm.interop\description.json
pause