2022-06-04 09:36:08 -04:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
if [[ ! -s base_patch.json || ! -s asar_symbols.txt ]]; then
|
|
|
|
cargo run -p bin_comp -- assembly/src/main.asm base_patch.json asar_symbols.txt
|
|
|
|
fi
|
|
|
|
if [[ ! -s enemizer_base_patch.json ]]; then
|
|
|
|
cargo run -p base_patch_generator -- "$1" base_patch.json asar_symbols.txt enemizer_base_patch.json
|
|
|
|
fi
|
2022-06-04 15:27:28 -04:00
|
|
|
cp enemizer_base_patch.json target/debug/enemizerBasePatch.json
|