From ae3298472da2802ec64dc76c26a6da0eb9f17e0c Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Sun, 18 Feb 2024 14:21:54 +0800 Subject: [PATCH] upx use ghrel --- config/pkg.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/config/pkg.json b/config/pkg.json index db7cfe84..b92fae38 100644 --- a/config/pkg.json +++ b/config/pkg.json @@ -16,15 +16,17 @@ "url": "https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/SP_5380_5361/strawberry-perl-5.38.0.1-64bit-portable.zip" }, "upx-aarch64-linux": { - "type": "url", - "url": "https://github.com/upx/upx/releases/download/v4.2.2/upx-4.2.2-arm64_linux.tar.xz", + "type": "ghrel", + "repo": "upx/upx", + "match": "upx.+-arm64_linux\\.tar\\.xz", "extract-files": { "upx": "{pkg_root_path}/bin/upx" } }, "upx-x86_64-linux": { - "type": "url", - "url": "https://github.com/upx/upx/releases/download/v4.2.2/upx-4.2.2-amd64_linux.tar.xz", + "type": "ghrel", + "repo": "upx/upx", + "match": "upx.+-amd64_linux\\.tar\\.xz", "extract-files": { "upx": "{pkg_root_path}/bin/upx" }