From f22e360cbb13c177595bc0e3c94c35180c5bce9a Mon Sep 17 00:00:00 2001 From: GyDi Date: Fri, 3 Nov 2023 15:52:36 +0800 Subject: [PATCH] chore: fix check script --- scripts/check.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/check.mjs b/scripts/check.mjs index 5b7aceb..50edc0e 100644 --- a/scripts/check.mjs +++ b/scripts/check.mjs @@ -18,7 +18,7 @@ const SIDECAR_HOST = execSync("rustc -vV") const CLASH_STORAGE_PREFIX = "https://release.dreamacro.workers.dev/"; const CLASH_URL_PREFIX = "https://github.com/Dreamacro/clash/releases/download/premium/"; -const CLASH_LATEST_DATE = "2023.08.17"; +const CLASH_LATEST_DATE = "latest"; const CLASH_MAP = { "win32-x64": "clash-windows-amd64", @@ -300,7 +300,7 @@ const resolveGeoIP = () => }); const tasks = [ - { name: "clash", func: resolveClash, retry: 5 }, + { name: "clash", func: () => resolveSidecar(clashS3()), retry: 5 }, { name: "clash-meta", func: () => resolveSidecar(clashMeta()), retry: 5 }, { name: "wintun", func: resolveWintun, retry: 5, winOnly: true }, { name: "service", func: resolveService, retry: 5, winOnly: true },