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