-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathwxt.config.ts
More file actions
40 lines (39 loc) · 896 Bytes
/
wxt.config.ts
File metadata and controls
40 lines (39 loc) · 896 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import { defineConfig } from 'wxt';
// See https://wxt.dev/api/config.html
export default defineConfig({
srcDir: 'src',
extensionApi: 'chrome',
modules: ['@wxt-dev/module-react'],
manifest: {
permissions: [
// "<all_urls>",
'activeTab',
'notifications',
'scripting',
'storage',
'tabs',
'webRequest',
// "webRequestBlocking",
],
commands: {
_execute_action: {
description: 'Open the popup',
suggested_key: {
default: 'Alt+Shift+U',
},
},
'toggle-queue': {
description: 'Toggle queue',
},
'open-web-ui': {
description: 'Open downloader web UI',
},
'activate-newznab': {
description: 'Add 1-click actions to the current Newznab page',
suggested_key: {
default: 'Alt+Shift+N',
},
},
},
},
});