Update PROMPT.md
This commit is contained in:
parent
d612ca0e9c
commit
5a20b23c00
1 changed files with 19 additions and 14 deletions
33
PROMPT.md
33
PROMPT.md
|
|
@ -212,29 +212,34 @@ use image; // Icon handling
|
||||||
|
|
||||||
## Tauri Configuration (tauri.conf.json)
|
## Tauri Configuration (tauri.conf.json)
|
||||||
|
|
||||||
Key settings:
|
Key settings (Tauri v2 format):
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
"$schema": "https://schema.tauri.app/config/2",
|
||||||
|
"productName": "General Bots",
|
||||||
|
"version": "6.1.0",
|
||||||
|
"identifier": "br.com.pragmatismo.botapp",
|
||||||
"build": {
|
"build": {
|
||||||
"devPath": "ui",
|
"devUrl": "http://localhost:3000",
|
||||||
"distDir": "ui"
|
"frontendDist": "../botui/ui/suite"
|
||||||
},
|
},
|
||||||
"package": {
|
"app": {
|
||||||
"productName": "General Bots",
|
"security": {
|
||||||
"version": "6.1.0"
|
"csp": null
|
||||||
},
|
|
||||||
"tauri": {
|
|
||||||
"allowlist": {
|
|
||||||
"all": false,
|
|
||||||
"dialog": { "all": true },
|
|
||||||
"fs": { "all": true, "scope": ["$HOME/**"] }
|
|
||||||
},
|
},
|
||||||
"windows": [{
|
"windows": [{
|
||||||
"title": "General Bots",
|
"title": "General Bots",
|
||||||
"width": 1200,
|
"width": 1200,
|
||||||
"height": 800
|
"height": 800,
|
||||||
|
"resizable": true,
|
||||||
|
"fullscreen": false
|
||||||
}]
|
}]
|
||||||
|
},
|
||||||
|
"bundle": {
|
||||||
|
"active": true,
|
||||||
|
"targets": "all",
|
||||||
|
"icon": []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
@ -350,4 +355,4 @@ cargo test
|
||||||
- **Platform abstractions** - Use cfg for platform code
|
- **Platform abstractions** - Use cfg for platform code
|
||||||
- **Security** - Minimal allowlist in tauri.conf.json
|
- **Security** - Minimal allowlist in tauri.conf.json
|
||||||
- **Zero warnings** - Clean compilation required
|
- **Zero warnings** - Clean compilation required
|
||||||
- **No cargo audit** - Exempt per project requirements
|
- **No cargo audit** - Exempt per project requirements
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue