Skip to content

Commit

Permalink
Modify build scripts for firefox android update
Browse files Browse the repository at this point in the history
  • Loading branch information
killergerbah committed Oct 3, 2024
1 parent fd79b83 commit aa89183
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"packageDev": "yarn buildDev && ../scripts/package chromium",
"packageProd": "yarn buildProd && ../scripts/package chromium",
"packageProdFirefox": "yarn buildProd --env firefox && ../scripts/package firefox",
"packageProdFirefoxAndroid": "yarn buildProd --env firefoxandroid && ../scripts/package firefoxandroid",
"test": "jest"
},
"dependencies": {
Expand Down
6 changes: 6 additions & 0 deletions extension/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ const manifestModifiedForFirefoxAndroid = (manifest) => {
return {
...manifestModifiedForFirefox(manifest),
permissions: ['tabs', 'storage', 'webRequest', 'webRequestBlocking'],
browser_specific_settings: {
gecko: {
id: '{49de9206-c73e-4829-be4d-bda770d7f4b5}',
},
gecko_android: {},
},
};
};

Expand Down

0 comments on commit aa89183

Please sign in to comment.