From 2c07e3ae4af804386c8de766d7b1faf045be5da0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?changjin=20wei=28=E9=AD=8F=E6=98=8C=E8=BF=9B=29?= Date: Sat, 8 Mar 2025 17:20:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E7=89=88qq=E9=82=AE=E7=AE=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- background.js | 1 + pack_extension.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/background.js b/background.js index 1fab2f9..9f3a13f 100644 --- a/background.js +++ b/background.js @@ -43,6 +43,7 @@ const redirectMap = { "developer.aliyun.com": { path: "/redirect", testHref: "https://developer.aliyun.com/redirect?target=https://github.com/galaxy-sea/AutoRedirector" }, "www.kdocs.cn": { path: "/office/link", testHref: "https://www.kdocs.cn/office/link?target=https://github.com/galaxy-sea/AutoRedirector" }, "dalao.ru": { path: "/link", testHref: "https://dalao.ru/link/?target=https://github.com/galaxy-sea/AutoRedirector" }, + "wx.mail.qq.com": { path: "/xmspamcheck/xmsafejump", testHref: "https://wx.mail.qq.com/xmspamcheck/xmsafejump?url=https://github.com/galaxy-sea/AutoRedirector" }, // "1111111": { path: "/111111", testHref: "" }, diff --git a/pack_extension.sh b/pack_extension.sh index b872fbb..d0eddf0 100644 --- a/pack_extension.sh +++ b/pack_extension.sh @@ -40,7 +40,7 @@ pack_extension() { sed -i '' "s/\"version\": *\"[0-9\.]*\"/\"version\": \"$VERSION\"/" "$EXT_DIR/manifest.json" # 开始打包 ZIP(排除不必要文件) - zip -r "$ZIP_NAME" . -x "*.zip" "node_modules/*" ".git/*" "doc/*" ".DS_Store" "pack_extension.sh" + zip -r "$ZIP_NAME" . -x "*.zip" "node_modules/*" ".git/*" ".DS_Store" ".github/*" ".vscode/*" ".cache/*" "doc/*" ".gitignore" "pack_extension.sh" # 结果输出 if [ -f "$ZIP_NAME" ]; then