mirror of
https://git.unlock-music.dev/um/web.git
synced 2025-04-20 16:36:18 +08:00

Add extension ID which adds support for Firefox addon. 通过添加 extension ID 提供对 Firefox 拓展的支持。 Signed-off-by: THR-hub <thr-hub@noreply.unlock-music.dev>
29 lines
858 B
JSON
29 lines
858 B
JSON
{
|
|
"manifest_version": 3,
|
|
"content_security_policy": {
|
|
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self';"
|
|
},
|
|
"name": "音乐解锁",
|
|
"short_name": "音乐解锁",
|
|
"icons": {
|
|
"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"],
|
|
"offline_enabled": true,
|
|
"options_page": "index.html",
|
|
"homepage_url": "https://git.unlock-music.dev/um/web",
|
|
"action": {
|
|
"default_icon": "img/icons/favicon-32x32.png",
|
|
"default_popup": "./popup.html"
|
|
},
|
|
"browser_specific_settings": {
|
|
"gecko": {
|
|
"id": "addon@unlock-music.dev",
|
|
"strict_min_version": "128.0"
|
|
}
|
|
}
|
|
} |