From 337be3e62ee9f60befc9320b9c921bd89fd1c3d0 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Sat, 12 Jul 2025 10:17:01 +0000 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=88=B0=201.2.0=20[skip=20ci]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 30 ++++++++++++++++++++---------- package.json | 4 ++-- 2 files changed, 22 insertions(+), 12 deletions(-) diff --git a/manifest.json b/manifest.json index 51f88af..d2b0311 100644 --- a/manifest.json +++ b/manifest.json @@ -1,10 +1,10 @@ { "action": { "default_icon": { - "128": "icons/icon128.png", "16": "icons/icon16.png", "32": "icons/icon32.png", - "48": "icons/icon48.png" + "48": "icons/icon48.png", + "128": "icons/icon128.png" }, "default_popup": "popup.html", "default_title": "Xget for Chrome" @@ -14,7 +14,9 @@ }, "content_scripts": [ { - "js": ["content.js"], + "js": [ + "content.js" + ], "matches": [ "https://github.com/*", "https://gitlab.com/*", @@ -30,19 +32,27 @@ "https://huggingface.co/*" ], "icons": { - "128": "icons/icon128.png", "16": "icons/icon16.png", "32": "icons/icon32.png", - "48": "icons/icon48.png" + "48": "icons/icon48.png", + "128": "icons/icon128.png" }, "manifest_version": 3, "name": "Xget for Chrome", - "permissions": ["downloads", "storage", "activeTab"], - "version": "1.1.0", + "permissions": [ + "downloads", + "storage", + "activeTab" + ], + "version": "1.2.0", "web_accessible_resources": [ { - "matches": [""], - "resources": ["icons/*"] + "matches": [ + "" + ], + "resources": [ + "icons/*" + ] } ] -} +} \ No newline at end of file diff --git a/package.json b/package.json index 39bdbfb..563e791 100644 --- a/package.json +++ b/package.json @@ -35,5 +35,5 @@ "test": "在 Chrome 开发者模式下加载扩展进行测试", "validate": "node -e \"JSON.parse(require('fs').readFileSync('manifest.json', 'utf8')); console.log('✅ manifest.json 格式有效')\"" }, - "version": "1.1.0" -} + "version": "1.2.0" +} \ No newline at end of file