fix #90: update to manifest v3

main
鲁树人 4 days ago
parent b7cb485be2
commit bded04e40f

@ -1,18 +1,23 @@
{ {
"manifest_version": 2, "manifest_version": 3,
"content_security_policy": {
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self';"
},
"name": "音乐解锁", "name": "音乐解锁",
"short_name": "音乐解锁", "short_name": "音乐解锁",
"icons": { "icons": {
"128": "./img/icons/msapplication-icon-144x144.png" "16": "img/icons/favicon-16x16.png",
"32": "img/icons/favicon-32x32.png",
"192": "img/icons/android-chrome-192x192.png",
"512": "img/icons/android-chrome-512x512.png"
}, },
"description": "在任何设备上解锁已购的加密音乐!", "description": "在任何设备上解锁已购的加密音乐!",
"permissions": [ "permissions": ["storage"],
"storage"
],
"offline_enabled": true, "offline_enabled": true,
"options_page": "./index.html", "options_page": "index.html",
"homepage_url": "https://git.unlock-music.dev/um/web", "homepage_url": "https://git.unlock-music.dev/um/web",
"browser_action": { "action": {
"default_icon": "img/icons/favicon-32x32.png",
"default_popup": "./popup.html" "default_popup": "./popup.html"
} }
} }

Loading…
Cancel
Save