Skip to content

Commit

Permalink
fix(manifest): fix manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
crimx committed May 30, 2018
1 parent 5371d20 commit 685ded1
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 12 deletions.
9 changes: 9 additions & 0 deletions src/manifest/chrome.manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
{
"background": {
"scripts": [
"static/browser-polyfill.min.js",
"background.js"
],
"persistent": true
},
"options_page": "options.html",
"update_url": "https://clients2.google.com/service/update2/crx",
"minimum_chrome_version": "55"
}
12 changes: 0 additions & 12 deletions src/manifest/common.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
"short_name": "__MSG_extension_short_name__",
"description": "__MSG_extension_description__",

"update_url": "https://clients2.google.com/service/update2/crx",

"default_locale": "zh_CN",

"icons": {
Expand All @@ -17,16 +15,6 @@
"128": "static/icon-128.png"
},

"options_page": "options.html",

"background": {
"scripts": [
"static/browser-polyfill.min.js",
"background.js"
],
"persistent": true
},

"content_scripts": [
{
"js": [
Expand Down
11 changes: 11 additions & 0 deletions src/manifest/firefox.manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
{
"background": {
"scripts": [
"static/browser-polyfill.min.js",
"background.js"
]
},
"options_ui": {
"page": "options.html",
"browser_style": false,
"open_in_tab": true
},
"applications": {
"gecko": {
"id": "saladict@crimx.com",
Expand Down

0 comments on commit 685ded1

Please sign in to comment.