Skip to content

Commit

Permalink
Change script to be able to compress using multiple tools
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Mikusa committed Jun 14, 2021
1 parent 3aecfa1 commit 0139b70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0139b70

Please sign in to comment.