mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-25 08:10:39 +08:00
Views can hold back writes to batch them, which would be lost if the window closed in the meantime. The first close is held until registered views have flushed, writing locally without announcing, with a 5 second fallback. On macOS, Quit goes through the same path instead of terminating the app directly.
27 lines
691 B
JSON
27 lines
691 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "Capability for the main window",
|
|
"windows": ["main"],
|
|
"permissions": [
|
|
"clipboard-manager:allow-write-text",
|
|
"clipboard-manager:default",
|
|
"core:app:default",
|
|
"core:event:default",
|
|
"core:image:default",
|
|
"core:menu:default",
|
|
"core:path:default",
|
|
"core:resources:default",
|
|
"core:tray:default",
|
|
"core:webview:default",
|
|
"core:window:allow-close",
|
|
"core:window:allow-set-badge-count",
|
|
"core:window:allow-start-dragging",
|
|
"core:window:default",
|
|
"deep-link:default",
|
|
"dialog:default",
|
|
"log:default",
|
|
"shell:allow-open"
|
|
]
|
|
}
|