From fac2696818608286793efcd36ee0d42d25671bfd Mon Sep 17 00:00:00 2001 From: DiamondYuan Date: Tue, 9 Mar 2021 00:35:05 +0800 Subject: [PATCH] fix: fix firefox manifest.json --- webpack/webpack.common.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/webpack/webpack.common.js b/webpack/webpack.common.js index 64ae6661..9f759cd1 100644 --- a/webpack/webpack.common.js +++ b/webpack/webpack.common.js @@ -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',