fix linux assemble.sh

This commit is contained in:
Kae 2024-03-17 22:59:56 +11:00
parent b648214e3c
commit 87f6312900
2 changed files with 6 additions and 6 deletions

View File

@ -12,16 +12,15 @@ touch client_distribution/mods/mods_go_here
mkdir client_distribution/linux mkdir client_distribution/linux
cp \ cp \
dist/starbound \ dist/starbound \
dist/starbound_server \
dist/btree_repacker \ dist/btree_repacker \
dist/asset_packer \ dist/asset_packer \
dist/asset_unpacker \ dist/asset_unpacker \
dist/dump_versioned_json \ dist/dump_versioned_json \
dist/make_versioned_json \ dist/make_versioned_json \
dist/*.so \ lib/linux/libdiscord_game_sdk.so \
lib/linux/libsteam_api.so \
scripts/ci/linux/sbinit.config \ scripts/ci/linux/sbinit.config \
scripts/ci/linux/run-client.sh \ scripts/ci/linux/run-client.sh \
scripts/ci/linux/run-server.sh \
client_distribution/linux/ client_distribution/linux/
mkdir server_distribution mkdir server_distribution
@ -37,7 +36,6 @@ mkdir server_distribution/linux
cp \ cp \
dist/starbound_server \ dist/starbound_server \
dist/btree_repacker \ dist/btree_repacker \
dist/*.so \
scripts/ci/linux/run-server.sh \ scripts/ci/linux/run-server.sh \
scripts/ci/linux/sbinit.config \ scripts/ci/linux/sbinit.config \
server_distribution/linux/ server_distribution/linux/

View File

@ -8,16 +8,18 @@ mkdir %client%\mods
mkdir %client%\assets mkdir %client%\assets
mkdir %client%\win mkdir %client%\win
.\dist\asset_packer.exe -c scripts\packing.config assets\opensb %client%\assets\opensb.pak
set server=server_distribution set server=server_distribution
if exist %server% rmdir %server% /S /Q if exist %server% rmdir %server% /S /Q
xcopy %client% %server% /E /I xcopy %client% %server% /E /I
.\dist\asset_packer.exe -c scripts\packing.config assets\opensb %client%\assets\opensb.pak
for /f "delims=" %%f in (scripts\ci\windows\files_client.txt) do ( for /f "delims=" %%f in (scripts\ci\windows\files_client.txt) do (
xcopy "%%f" "%client%\win\" /Y xcopy "%%f" "%client%\win\" /Y
) )
.\dist\asset_packer.exe -c scripts\packing.config -s assets\opensb %server%\assets\opensb.pak
for /f "delims=" %%f in (scripts\ci\windows\files_server.txt) do ( for /f "delims=" %%f in (scripts\ci\windows\files_server.txt) do (
xcopy "%%f" "%server%\win\" /Y xcopy "%%f" "%server%\win\" /Y
) )