Skip to content

Commit 2bbadd6

Browse files
committed
fix: update manifest version and restructure permissions and scripts
1 parent 273f14e commit 2bbadd6

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

manifest.json

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,41 @@
11
{
22
"manifest_version": 2,
33
"name": "Pixely Sort & Save",
4-
"version": "1.2",
4+
"version": "1.1.0",
55
"description": "Salva imagens rapidamente em subpastas com nome aleatório.",
66
"permissions": [
77
"downloads",
88
"contextMenus",
99
"storage",
10+
"activeTab",
1011
"<all_urls>"
1112
],
13+
"host_permissions": ["<all_urls>", "https://api.dropboxapi.com/"],
1214
"background": {
1315
"scripts": [
14-
"background.js"
16+
"scripts/utils.js",
17+
"scripts/dropbox.js",
18+
"scripts/background.js"
1519
],
1620
"persistent": false
1721
},
22+
"browser_action": {
23+
"default_popup": "./pages/index.html",
24+
"default_icon": {
25+
"16": "icons/icon.png",
26+
"48": "icons/icon.png",
27+
"128": "icons/icon.png"
28+
}
29+
},
30+
"content_scripts": [
31+
{
32+
"matches": ["<all_urls>"],
33+
"js": ["scripts/content_script.js", "scripts/index.js"]
34+
}
35+
],
1836
"options_ui": {
19-
"page": "options.html",
20-
"open_in_tab": false
37+
"page": "./pages/options.html",
38+
"open_in_tab": true
2139
},
2240
"icons": {
2341
"48": "icons/icon.png"

0 commit comments

Comments
 (0)