chore: fix check script

This commit is contained in:
GyDi 2023-11-03 15:52:36 +08:00
parent 67769af6f4
commit f22e360cbb

View File

@ -18,7 +18,7 @@ const SIDECAR_HOST = execSync("rustc -vV")
const CLASH_STORAGE_PREFIX = "https://release.dreamacro.workers.dev/"; const CLASH_STORAGE_PREFIX = "https://release.dreamacro.workers.dev/";
const CLASH_URL_PREFIX = const CLASH_URL_PREFIX =
"https://github.com/Dreamacro/clash/releases/download/premium/"; "https://github.com/Dreamacro/clash/releases/download/premium/";
const CLASH_LATEST_DATE = "2023.08.17"; const CLASH_LATEST_DATE = "latest";
const CLASH_MAP = { const CLASH_MAP = {
"win32-x64": "clash-windows-amd64", "win32-x64": "clash-windows-amd64",
@ -300,7 +300,7 @@ const resolveGeoIP = () =>
}); });
const tasks = [ const tasks = [
{ name: "clash", func: resolveClash, retry: 5 }, { name: "clash", func: () => resolveSidecar(clashS3()), retry: 5 },
{ name: "clash-meta", func: () => resolveSidecar(clashMeta()), retry: 5 }, { name: "clash-meta", func: () => resolveSidecar(clashMeta()), retry: 5 },
{ name: "wintun", func: resolveWintun, retry: 5, winOnly: true }, { name: "wintun", func: resolveWintun, retry: 5, winOnly: true },
{ name: "service", func: resolveService, retry: 5, winOnly: true }, { name: "service", func: resolveService, retry: 5, winOnly: true },