build.sh 442 B

1234567891011121314151617181920212223242526
  1. #!/usr/bin/env bash
  2. set -e
  3. strip="x86_64-w64-mingw32-strip"
  4. rm -f jadeite.zip
  5. rm -rf out
  6. sh setup.sh --buildtype=release
  7. meson compile -C build
  8. mkdir out
  9. cp ./build/injector/jadeite.exe ./out
  10. cp ./build/injector/launcher_payload.dll ./out
  11. cp ./build/game_payload/game_payload.dll ./out
  12. cp ./block_analytics.sh ./out
  13. cp ./LICENSE.txt ./out
  14. $strip ./out/*.{exe,dll}
  15. if [ "x$1" = "xrelease" ]; then
  16. cd out
  17. zip ../jadeite.zip *
  18. fi