diff --git a/manifest.json b/manifest.json index 5f3eec1..ec2991a 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 Chromium" @@ -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 Chromium", - "permissions": ["downloads", "storage", "activeTab"], + "permissions": [ + "downloads", + "storage", + "activeTab" + ], "version": "1.3.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 d9818d0..4543b8f 100644 --- a/package.json +++ b/package.json @@ -36,4 +36,4 @@ "validate": "node -e \"JSON.parse(require('fs').readFileSync('manifest.json', 'utf8')); console.log('✅ manifest.json 格式有效')\"" }, "version": "1.3.0" -} +} \ No newline at end of file