2023-06-07 17:57:56 +00:00
|
|
|
#!/usr/bin/env bash
|
2023-06-24 22:47:32 +00:00
|
|
|
set -e
|
|
|
|
|
2023-06-07 17:57:56 +00:00
|
|
|
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-25 09:32:19 +00:00
|
|
|
meson compile -C build
|
2023-06-05 21:23:08 +00:00
|
|
|
|
|
|
|
mkdir out
|
|
|
|
|
|
|
|
cp ./build/injector/jadeite.exe ./out
|
2023-06-25 09:32:19 +00:00
|
|
|
cp ./build/injector/launcher_payload.dll ./out
|
2023-06-05 21:23:08 +00:00
|
|
|
cp ./build/game_payload/game_payload.dll ./out
|
2023-08-06 16:26:02 +00:00
|
|
|
cp ./block_analytics.sh ./out
|
2023-06-05 21:23:08 +00:00
|
|
|
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
|