fix #90: update to manifest v3

This commit is contained in:
鲁树人 2024-10-14 02:01:25 +01:00
parent b7cb485be2
commit bded04e40f

View File

@ -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": "音乐解锁",
"short_name": "音乐解锁",
"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": "在任何设备上解锁已购的加密音乐!",
"permissions": [
"storage"
],
"permissions": ["storage"],
"offline_enabled": true,
"options_page": "./index.html",
"options_page": "index.html",
"homepage_url": "https://git.unlock-music.dev/um/web",
"browser_action": {
"action": {
"default_icon": "img/icons/favicon-32x32.png",
"default_popup": "./popup.html"
}
}