- Replace deflate with Zstd compression via zstd-wasm for .fig export (Figma expects Zstd, not zlib deflate) - Extract IS_TAURI constant from repeated window check - Fix Tauri fs permissions: use allow-write-file / allow-read-file with glob scope instead of bare allow-write / allow-read
22 lines
471 B
JSON
22 lines
471 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "Capability for the main window",
|
|
"windows": ["main"],
|
|
"permissions": [
|
|
"core:default",
|
|
"opener:default",
|
|
"dialog:default",
|
|
"dialog:allow-save",
|
|
"dialog:allow-open",
|
|
{
|
|
"identifier": "fs:allow-read-file",
|
|
"allow": [{ "path": "**" }]
|
|
},
|
|
{
|
|
"identifier": "fs:allow-write-file",
|
|
"allow": [{ "path": "**" }]
|
|
}
|
|
]
|
|
}
|