osb/scripts/ci/macos/assemble.sh
2024-03-08 20:09:27 +11:00

27 lines
867 B
Bash

#!/bin/sh -e
mkdir client_distribution
mkdir client_distribution/assets
./dist/asset_packer -c scripts/packing.config assets/opensb client_distribution/assets/opensb.pak
cp -r assets/user client_distribution/assets/
mkdir client_distribution/mods
touch client_distribution/mods/mods_go_here
mkdir client_distribution/osx
cp -LR scripts/ci/macos/Starbound.app client_distribution/osx/
mkdir client_distribution/osx/Starbound.app/Contents/MacOS
cp dist/starbound client_distribution/osx/Starbound.app/Contents/MacOS/
cp dist/*.dylib client_distribution/osx/Starbound.app/Contents/MacOS/
cp \
dist/starbound_server \
dist/btree_repacker \
dist/asset_packer \
dist/asset_unpacker \
dist/dump_versioned_json \
dist/make_versioned_json \
dist/planet_mapgen \
scripts/ci/macos/sbinit.config \
scripts/ci/macos/run-server.sh \
client_distribution/osx/