From 72ff261fe38dc1c58d34a79a3751dba268689cb6 Mon Sep 17 00:00:00 2001
From: GyDi <segydi@foxmail.com>
Date: Thu, 6 Jan 2022 23:40:57 +0800
Subject: [PATCH] chore: update clash version

---
 scripts/pre-dev.mjs | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/scripts/pre-dev.mjs b/scripts/pre-dev.mjs
index 2adf798..d7f4d55 100644
--- a/scripts/pre-dev.mjs
+++ b/scripts/pre-dev.mjs
@@ -9,7 +9,7 @@ const cwd = process.cwd();
 
 const CLASH_URL_PREFIX =
   "https://github.com/Dreamacro/clash/releases/download/premium/";
-const CLASH_LATEST_DATE = "2021.12.07";
+const CLASH_LATEST_DATE = "2022.01.03";
 
 /**
  * get the correct clash release infomation
@@ -62,7 +62,6 @@ async function resolveSidecar() {
   if (!(await fs.pathExists(tempDir))) await fs.mkdir(tempDir);
   if (!(await fs.pathExists(tempZip))) await downloadFile(binInfo.url, tempZip);
 
-  // Todo: support gz
   if (binInfo.zip === "zip") {
     const zip = new AdmZip(tempZip);
     zip.getEntries().forEach((entry) => {
-- 
GitLab