forked from anomalyco/opencode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtauri.conf.json
More file actions
52 lines (52 loc) · 1.39 KB
/
Copy pathtauri.conf.json
File metadata and controls
52 lines (52 loc) · 1.39 KB
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
{
"$schema": "https://raw.githubusercontent.com/nicorichard/tauri-schema/main/tauri.conf.json",
"productName": "OpenCode Mobile",
"version": "0.1.0",
"identifier": "ai.opencode.mobile",
"build": {
"frontendDist": "../dist",
"devUrl": "http://localhost:1430",
"beforeDevCommand": "bun run dev",
"beforeBuildCommand": "bun run build"
},
"app": {
"withGlobalTauri": true,
"windows": [
{
"label": "main",
"title": "OpenCode",
"fullscreen": false,
"resizable": true
}
],
"security": {
"csp": "default-src 'self' ipc: https://tauri.localhost; connect-src 'self' ipc: http://127.0.0.1:* ws://127.0.0.1:* wss://127.0.0.1:* https://huggingface.co https://*.hf.co https://*.huggingface.co https://opencode.ai; img-src 'self' data: blob: https:; style-src 'self' 'unsafe-inline'; script-src 'self' 'wasm-unsafe-eval'; font-src 'self' data:; object-src 'none'; frame-ancestors 'none'"
}
},
"bundle": {
"active": true,
"targets": "all",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"iOS": {
"minimumSystemVersion": "15.0"
},
"android": {
"minSdkVersion": 24
}
},
"plugins": {
"deep-link": {
"mobile": [
{
"scheme": ["opencode"]
}
]
}
}
}