Skip to content

Commit

Permalink
Fix upx native installer
Browse files Browse the repository at this point in the history
add arm detection
  • Loading branch information
WXbet committed Jun 17, 2024
1 parent 8bc2ff9 commit dc3b0cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions support/functions/_sys_check
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ upx_native_installer(){
case $(uname -m) in
i386|i686) HOST_ARCH="i386" ;;
aarch64|arm64) HOST_ARCH="arm64" ;;
arm*) HOST_ARCH="arm" ;;
*) HOST_ARCH="amd64" ;;
esac;
rm -rf "/tmp/upx_$HOST_ARCH.tar.xz" 2>/dev/null
Expand Down

0 comments on commit dc3b0cd

Please sign in to comment.