From 0139b70abda98e981f632063d805f0776c5c6d81 Mon Sep 17 00:00:00 2001 From: Daniel Mikusa Date: Sun, 13 Jun 2021 21:36:31 -0400 Subject: [PATCH] Change script to be able to compress using multiple tools --- scripts/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index 6796427..cb0c018 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -9,8 +9,8 @@ if [ "${STRIP:-false}" != "false" ]; then strip bin/helper bin/main fi -if [ "${COMPRESS:-false}" != "false" ]; then - upx -q -9 bin/helper bin/main +if [ "${COMPRESS:-none}" != "none" ]; then + $COMPRESS bin/helper bin/main fi ln -fs main bin/build