jadeite/build.sh
2023-06-06 00:23:08 +03:00

20 lines
332 B
Bash

#!/usr/bin/env sh
rm -f jadeite.zip
rm -rf out
sh setup.sh
ninja -C build
mkdir out
cp ./build/injector/jadeite.exe ./out
cp ./build/injector/launcher_payload/launcher_payload.dll ./out
cp ./build/game_payload/game_payload.dll ./out
cp ./LICENSE.txt ./out
if [ "x$1" = "xrelease" ]; then
cd out
zip ../jadeite.zip *
fi