fix build

This commit is contained in:
reya
2023-11-27 15:33:05 +07:00
parent 6a604d0d58
commit db509a1451
5 changed files with 302 additions and 288 deletions

View File

@@ -12,7 +12,7 @@
},
"options_page": "options.html",
"background": {
"service_worker": "/background.build.js"
"service_worker": "background.build.js"
},
"action": {
"default_title": "Nostr Connect",
@@ -21,7 +21,7 @@
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["/content-script.build.js"],
"js": ["content-script.build.js"],
"all_frames": true
}
],

View File

@@ -3,7 +3,7 @@
"description": "Nostr Signer Extension",
"version": "0.1.1",
"homepage_url": "https://github.com/reyamir/nostr-connect",
"manifest_version": 3,
"manifest_version": 2,
"browser_specific_settings": {
"gecko": {
"id": "{e665d138-0e5b-4b7a-ab91-7af834eda7a2}"
@@ -17,25 +17,19 @@
},
"options_page": "options.html",
"background": {
"scripts": ["/background.build.js"]
"scripts": ["background.build.js"]
},
"action": {
"browser_action": {
"default_title": "Nostr Connect",
"default_popup": "popup.html"
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["/content-script.build.js"],
"all_frames": true
"js": ["content-script.build.js"]
}
],
"permissions": ["storage"],
"optional_permissions": ["notifications"],
"web_accessible_resources": [
{
"resources": ["nostr-provider.js"],
"matches": ["<all_urls>"]
}
]
"web_accessible_resources": ["nostr-provider.js"]
}