jadeite/build.sh

24 lines
414 B
Bash
Raw Normal View History

2023-06-07 17:57:56 +00:00
#!/usr/bin/env bash
strip="x86_64-w64-mingw32-strip"
2023-06-05 21:23:08 +00:00
rm -f jadeite.zip
rm -rf out
2023-06-07 17:57:56 +00:00
sh setup.sh --buildtype=release
2023-06-05 21:23:08 +00:00
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
2023-06-07 17:57:56 +00:00
$strip ./out/*.{exe,dll}
2023-06-05 21:23:08 +00:00
if [ "x$1" = "xrelease" ]; then
cd out
zip ../jadeite.zip *
fi