From b79456e91b636dd658b0d5dca9d9fb7e5546c69f Mon Sep 17 00:00:00 2001
From: GyDi <zzzgydi@gmail.com>
Date: Mon, 30 Jan 2023 20:50:08 +0800
Subject: [PATCH] chore: update clash

---
 scripts/check.mjs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/check.mjs b/scripts/check.mjs
index d9c36df..ebe88c9 100644
--- a/scripts/check.mjs
+++ b/scripts/check.mjs
@@ -17,7 +17,7 @@ const SIDECAR_HOST = execSync("rustc -vV")
 /* ======= clash ======= */
 const CLASH_URL_PREFIX =
   "https://github.com/Dreamacro/clash/releases/download/premium/";
-const CLASH_LATEST_DATE = "2022.11.25";
+const CLASH_LATEST_DATE = "2023.01.29";
 
 const CLASH_MAP = {
   "win32-x64": "clash-windows-amd64",
@@ -45,10 +45,10 @@ const META_MAP = {
 
 const { platform, arch } = process;
 if (!CLASH_MAP[`${platform}-${arch}`]) {
-  throw new Error(`clash unsupport platform "${platform}-${arch}"`);
+  throw new Error(`clash unsupported platform "${platform}-${arch}"`);
 }
 if (!META_MAP[`${platform}-${arch}`]) {
-  throw new Error(`clash meta unsupport platform "${platform}-${arch}"`);
+  throw new Error(`clash meta unsupported platform "${platform}-${arch}"`);
 }
 
 function clash() {
-- 
GitLab