Skip to content

Commit

Permalink
fix: fix firefox manifest.json
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamondYuan committed Mar 8, 2021
1 parent 06be8bb commit fac2696
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions webpack/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ let tool = resolve('src/main/tool.main.chrome.ts');
if (process.env.TARGET_BROWSER === 'Firefox') {
manifestExtra = {
name: 'Web Clipper',
commands: {
'toggle-feature-foo': {
suggested_key: {
default: 'Alt+S',
},
description: 'Test',
},
},
permissions: [
'contextMenus',
'activeTab',
Expand Down

0 comments on commit fac2696

Please sign in to comment.