Wires the native Save/Open and SVG/PNG export paths used by the frontend IO layer. Adds tauri-plugin-dialog and tauri-plugin-fs, initializes them in the builder, and grants open/save/read/write permissions in the default capability. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
17 lines
379 B
JSON
17 lines
379 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "enables the default permissions",
|
|
"windows": ["main"],
|
|
"permissions": [
|
|
"core:default",
|
|
"dialog:default",
|
|
"dialog:allow-open",
|
|
"dialog:allow-save",
|
|
"fs:default",
|
|
"fs:allow-read-text-file",
|
|
"fs:allow-write-text-file",
|
|
"fs:allow-write-file"
|
|
]
|
|
}
|