From c24abba78fc3ab860eb0196b5fba5e8358d9fb55 Mon Sep 17 00:00:00 2001 From: Copper424-wy <64267991+copper424@users.noreply.github.com> Date: Tue, 12 Sep 2023 17:47:42 +0800 Subject: [PATCH] sing-box: Fix extract_dir (#5098) --- bucket/sing-box.json | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/bucket/sing-box.json b/bucket/sing-box.json index 5374911c4d..b496afa700 100644 --- a/bucket/sing-box.json +++ b/bucket/sing-box.json @@ -6,15 +6,18 @@ "architecture": { "64bit": { "url": "https://github.com/SagerNet/sing-box/releases/download/v1.4.2/sing-box-1.4.2-windows-amd64.zip", - "hash": "65a2d481c31dc8a6b4621f0e4cf5567ddfbb96dde9506cb57b9657e13dd807a6" + "hash": "65a2d481c31dc8a6b4621f0e4cf5567ddfbb96dde9506cb57b9657e13dd807a6", + "extract_dir": "sing-box-1.4.2-windows-amd64" }, "32bit": { "url": "https://github.com/SagerNet/sing-box/releases/download/v1.4.2/sing-box-1.4.2-windows-386.zip", - "hash": "f350090a1e89784e200745b47dea26dc6ab723df0f112550a7e6c0686efdcbd0" + "hash": "f350090a1e89784e200745b47dea26dc6ab723df0f112550a7e6c0686efdcbd0", + "extract_dir": "sing-box-1.4.2-windows-386" }, "arm64": { "url": "https://github.com/SagerNet/sing-box/releases/download/v1.4.2/sing-box-1.4.2-windows-arm64.zip", - "hash": "3f9b0d9bbcaf6a54357862eff851b889fc1f0aa8823bb08dcf9f6803af474f97" + "hash": "3f9b0d9bbcaf6a54357862eff851b889fc1f0aa8823bb08dcf9f6803af474f97", + "extract_dir": "sing-box-1.4.2-windows-arm64" } }, "bin": "sing-box.exe", @@ -25,13 +28,16 @@ "autoupdate": { "architecture": { "64bit": { - "url": "https://github.com/SagerNet/sing-box/releases/download/$matchTag/sing-box-$version-windows-amd64.zip" + "url": "https://github.com/SagerNet/sing-box/releases/download/$matchTag/sing-box-$version-windows-amd64.zip", + "extract_dir": "sing-box-$version-windows-amd64" }, "32bit": { - "url": "https://github.com/SagerNet/sing-box/releases/download/$matchTag/sing-box-$version-windows-386.zip" + "url": "https://github.com/SagerNet/sing-box/releases/download/$matchTag/sing-box-$version-windows-386.zip", + "extract_dir": "sing-box-$version-windows-386" }, "arm64": { - "url": "https://github.com/SagerNet/sing-box/releases/download/$matchTag/sing-box-$version-windows-arm64.zip" + "url": "https://github.com/SagerNet/sing-box/releases/download/$matchTag/sing-box-$version-windows-arm64.zip", + "extract_dir": "sing-box-$version-windows-arm64" } } }