1
0
Fork 0

[Feat] update apply generator script

main
Mist 2024-03-17 13:59:32 +08:00
parent 9b9a11f42e
commit ccf108b440
3 changed files with 1 additions and 6 deletions

Binary file not shown.

View File

@ -6,4 +6,3 @@ build_generator_debug:
build_generator:
./scripts/build_generator.sh --release
# cd generator && cargo build --release

View File

@ -1,11 +1,7 @@
source ./scripts/check_os.sh
function apply_generator {
if [ -f lua/generator.so ]; then
rm lua/generator.so
fi
cp lua/"${1}generator.so" lua/generator.so
cp -rf lua/"${os}generator.so" lua/generator.so
}
apply_generator $os