Skip to content

Commit 6e6f85a

Browse files
committed
1 parent 4a29d38 commit 6e6f85a

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

src/manifest.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"128": "common/images/icon128.png",
1313
"512": "common/images/icon512.png"
1414
},
15-
"permissions": ["contextMenus", "storage"],
15+
"permissions": ["menus", "storage"],
1616
"background": {"page": "chrome/background.html"},
1717
"content_scripts": [
1818
{
@@ -46,7 +46,15 @@
4646

4747
,"applications": {
4848
"gecko": {
49-
"id": "markdown-here-webext@adam.pritchard"
49+
"id": "markdown-here-webext@adam.pritchard",
50+
"strict_min_version": "68.0"
51+
}
52+
}
53+
,"legacy": {
54+
"type": "xul",
55+
"options": {
56+
"page": "common/options.html",
57+
"open_in_tab": true
5058
}
5159
}
5260
}

utils/build.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
var fs = require('fs');
1010
var file = require('file');
1111
var archiver = require('archiver');
12-
var MetaScript = require('MetaScript');
12+
var MetaScript = require('metascript');
1313

1414

1515
var BASE_DIR = '..';
@@ -22,7 +22,7 @@ var THUNDERBIRD_EXTENSION = file.path.join(DIST_DIR, 'thunderbird.xpi');
2222

2323
var CHROME_INPUT = [/^manifest\.json$/, /^common(\\|\/)/, /^chrome(\\|\/)/, /^_locales(\\|\/)/];
2424
var FIREFOX_INPUT = CHROME_INPUT;
25-
var THUNDERBIRD_INPUT = [/^chrome.manifest$/, /^install.rdf$/, /^common(\\|\/)/, /^firefox(\\|\/)/];
25+
var THUNDERBIRD_INPUT = [/^manifest\.json$/, /^chrome.manifest$/, /^install.rdf$/, /^common(\\|\/)/, /^firefox(\\|\/)/, /^_locales(\\|\/)/];
2626

2727
var CHROME_PLATFORM = 'chrome';
2828
var FIREFOX_PLATFORM = 'firefox';

0 commit comments

Comments
 (0)