-
-
Notifications
You must be signed in to change notification settings - Fork 523
/
Copy pathtauri.conf.json
113 lines (113 loc) · 3.68 KB
/
tauri.conf.json
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"build": {
"beforeDevCommand": "pnpm dev",
"beforeBuildCommand": "pnpm build",
"devPath": "http://localhost:1420",
"distDir": "../dist",
"withGlobalTauri": false
},
"package": {
"productName": "pot",
"version": "1.13.1"
},
"tauri": {
"allowlist": {
"all": false,
"shell": {
"all": false,
"open": true
},
"globalShortcut": {
"all": true
},
"window": {
"all": true
},
"clipboard": {
"all": true
},
"notification": {
"all": true
},
"dialog": {
"open": true
},
"path": {
"all": true
},
"fs": {
"readFile": true,
"scope": ["$CACHE/**"]
},
"protocol": {
"asset": true,
"assetScope": ["$CACHE/**"]
},
"http": {
"all": true,
"request": true,
"scope": ["http://**", "https://**"]
},
"os": {
"all": true
}
},
"bundle": {
"active": true,
"category": "Utility",
"copyright": "GPLv3",
"deb": {
"depends": ["libxdo-dev", "libxcb1", "libxrandr2", "tesseract-ocr-all"]
},
"externalBin": [],
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"identifier": "com.pylogmon.pot",
"longDescription": "A cross-platform translation software",
"macOS": {
"entitlements": null,
"exceptionDomain": "",
"frameworks": [],
"providerShortName": null,
"signingIdentity": null
},
"resources": [],
"shortDescription": "A cross-platform translation software",
"targets": "all",
"windows": {
"certificateThumbprint": null,
"digestAlgorithm": "sha256",
"timestampUrl": "",
"wix": {
"language": "zh-CN"
},
"webviewInstallMode": {
"silent": true,
"type": "embedBootstrapper"
},
"nsis": {
"displayLanguageSelector": true,
"installerIcon": "icons/icon.ico",
"license": "../LICENSE",
"installMode": "perMachine",
"languages": ["SimpChinese", "TradChinese", "English"]
}
}
},
"security": {
"csp": "default-src * data: ; img-src 'self' asset: https://asset.localhost data: ; style-src * 'unsafe-inline'; worker-src 'self' blob: ; script-src * 'unsafe-eval';",
"devCsp": "default-src * data: ; img-src 'self' asset: https://asset.localhost data: ; style-src * 'unsafe-inline'; worker-src 'self' blob: ; script-src * 'unsafe-eval';"
},
"updater": {
"active": true,
"dialog": false,
"endpoints": ["https://pot-app.com/.netlify/functions/update"],
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDVBRTQxQTNDQjM5QzQzM0EKUldRNlE1eXpQQnJrV21mM1Bram5LRlF6UDA3K0Jab2FYL2lZSWhXTE5McWs2NUdJS0dtYkd5VGMK"
}
}
}