Skip to content
Permalink
Browse files

Fix scripts

  • Loading branch information...
rafael-gssa committed Jul 23, 2019
1 parent 7fa7d95 commit e4e59ec533b826edd2713ad38b09e7a62c1d5591
Showing with 6 additions and 4 deletions.
  1. +6 −4 scripts/generateManifest.js
@@ -68,20 +68,22 @@ module.exports = function (browserName) {
]
};

const bextJson = require(`${ROOT_PATH}/bext.json`);

switch (browserName) {
case `chrome`:
case `chrome`: {
const bextJson = require(`${ROOT_PATH}/bext.json`);
manifest.key = bextJson.chrome.extensionKey;
manifest.permissions.push(`declarativeContent`);
break;
case `firefox`:
}
case `firefox`: {
const bextJson = require(`${ROOT_PATH}/bext.json`);
manifest.browser_specific_settings = {
gecko: {
id: bextJson.firefox.extensionId
}
};
break;
}
default:
break;
}

0 comments on commit e4e59ec

Please sign in to comment.
You can’t perform that action at this time.