osb/scripts/ci/windows/assemble.bat

30 lines
774 B
Batchfile
Raw Normal View History

2024-03-08 09:09:27 +00:00
@echo off
2024-03-17 11:54:28 +00:00
set client=client_distribution
if exist %client% rmdir %client% /S /Q
2024-03-08 09:09:27 +00:00
2024-03-17 11:54:28 +00:00
mkdir %client%
mkdir %client%\storage
mkdir %client%\mods
2024-03-25 04:23:37 +00:00
mkdir %client%\logs
2024-03-17 11:54:28 +00:00
mkdir %client%\assets
mkdir %client%\win
2024-03-08 09:09:27 +00:00
2024-03-17 11:54:28 +00:00
set server=server_distribution
if exist %server% rmdir %server% /S /Q
xcopy %client% %server% /E /I
2024-03-08 09:09:27 +00:00
2024-03-17 11:59:56 +00:00
.\dist\asset_packer.exe -c scripts\packing.config assets\opensb %client%\assets\opensb.pak
2024-03-17 11:54:28 +00:00
for /f "delims=" %%f in (scripts\ci\windows\files_client.txt) do (
xcopy "%%f" "%client%\win\" /Y
)
2024-03-08 09:09:27 +00:00
2024-03-17 11:59:56 +00:00
.\dist\asset_packer.exe -c scripts\packing.config -s assets\opensb %server%\assets\opensb.pak
2024-03-17 11:54:28 +00:00
for /f "delims=" %%f in (scripts\ci\windows\files_server.txt) do (
xcopy "%%f" "%server%\win\" /Y
)
set win=windows
xcopy %client% %win% /E /I /Y
xcopy %server% %win% /E /I /Y