Skip to content

Commit 08f350f

Browse files
committed
Revert "Fix UPX compression issue."
This reverts commit 872e994.
1 parent 8ae0bda commit 08f350f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/build-nightly-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
fi
4545
4646
if [[ "$compile_target" == "mips-"* || "$compile_target" == "mipsel-"* || "$compile_target" == "mips64-"* || "$compile_target" == "mips64el-"* ]]; then
47-
wget -q https://github.com/upx/upx/releases/download/v4.0.2/upx-4.0.2-amd64_linux.tar.xz -O /tmp/upx-4.0.2.tar.xz&&mkdir -p /tmp/upx&&xz -d -c /tmp/upx-4.0.2.tar.xz | tar -x -C /tmp/upx; chmod +x /tmp/upx/upx-4.0.2-amd64_linux/upx&&export PATH=/tmp/upx/upx-4.0.2-amd64_linux:$PATH;
47+
sudo apt-get update -y && sudo apt-get install -y upx;
4848
if [[ "$?" == "0" ]]; then
4949
compile_compress="-u"
5050
fi

.github/workflows/build-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
fi
5656
5757
if [[ "$compile_target" == "mips-"* || "$compile_target" == "mipsel-"* || "$compile_target" == "mips64-"* || "$compile_target" == "mips64el-"* ]]; then
58-
wget -q https://github.com/upx/upx/releases/download/v4.0.2/upx-4.0.2-amd64_linux.tar.xz -O /tmp/upx-4.0.2.tar.xz&&mkdir -p /tmp/upx&&xz -d -c /tmp/upx-4.0.2.tar.xz | tar -x -C /tmp/upx; chmod +x /tmp/upx/upx-4.0.2-amd64_linux/upx&&export PATH=/tmp/upx/upx-4.0.2-amd64_linux:$PATH;
58+
sudo apt-get update -y && sudo apt-get install -y upx;
5959
if [[ "$?" == "0" ]]; then
6060
compile_compress="-u"
6161
fi

build/build-release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ fi
3838

3939
if [[ "${use_upx}" = true ]]; then
4040
if [[ -z "$upx" ]] && command -v upx &> /dev/null; then
41-
upx="upx --lzma --best"
41+
upx="upx -9"
4242
fi
4343

4444
if [[ "x$upx" == "x" ]]; then

build/build-release-zigbuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ fi
3838

3939
if [[ "${use_upx}" = true ]]; then
4040
if [[ -z "$upx" ]] && command -v upx &> /dev/null; then
41-
upx="upx --lzma --best"
41+
upx="upx -9"
4242
fi
4343

4444
if [[ "x$upx" == "x" ]]; then

0 commit comments

Comments
 (0)