From 8ed0afe80d7b13b9879f02b7c412996a72a5b490 Mon Sep 17 00:00:00 2001 From: Xhofe Date: Thu, 24 Feb 2022 22:42:15 +0800 Subject: [PATCH] :sparkler: add unupx version --- build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 3d412f1c..a197dcf1 100644 --- a/build.sh +++ b/build.sh @@ -77,7 +77,9 @@ BUILD() { fi done cd build - upx -9 ./* + for i in $(find . -type f -name "$appName-*"); do + upx -9 -o $i-upx $i + done find . -type f -print0 | xargs -0 md5sum >md5.txt cat md5.txt cd ..