diff --git a/bin/flhacker.zip b/bin/flhacker.zip index 04b0dd4..4ebe171 100644 Binary files a/bin/flhacker.zip and b/bin/flhacker.zip differ diff --git a/bin/genzip.sh b/bin/genzip.sh index c5e6f31..d1b5f44 100755 --- a/bin/genzip.sh +++ b/bin/genzip.sh @@ -1,15 +1,20 @@ #!/bin/bash -rm -f bin/*.so -rm -f bin/*.zip -rm -f bin/flhacker -cp target/*.so bin -cp target/flhacker bin +sh_path=$(realpath $0) +bin_path=$(dirname $sh_path) +echo Working in $bin_path -zip -j bin/flhacker.zip bin/*.so bin/flhacker +rm -f $bin_path/*.so +rm -f $bin_path/*.zip +rm -f $bin_path/flhacker -rm -f bin/*.so -rm -f bin/flhacker +cp $bin_path/../target/*.so $bin_path +cp $bin_path/../target/flhacker $bin_path -git add bin/flhacker.zip +zip -j $bin_path/flhacker.zip $bin_path/*.so $bin_path/flhacker + +rm -f $bin_path/*.so +rm -f $bin_path/flhacker + +git add $bin_path/flhacker.zip