storebound/apps/desktop/src-tauri/capabilities/main.json

63 lines
2 KiB
JSON

{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "main-window",
"description": "The main window with the app's own bundled pages only (no remote content). It may listen to app events (sidecar progress, tool downloads, deep links) and call the storebound app commands; every command re-checks the window label and page origin in Rust. No plugin API is granted to the webview: the sidecar is spawned from Rust with fixed arguments, dialogs, the opener, notifications, the updater and process control are driven from Rust only, and credentials never reach the page.",
"windows": [
"main"
],
"local": true,
"permissions": [
"core:event:allow-listen",
"core:event:allow-unlisten",
"allow-app-info",
"allow-sidecar-status",
"allow-sidecar-call",
"allow-cache-get",
"allow-cache-clear",
"allow-job-cancel",
"allow-write-with-confirm",
"allow-projects-list",
"allow-project-add",
"allow-project-init",
"allow-project-remove",
"allow-project-set-accounts",
"allow-accounts-list",
"allow-account-add-play",
"allow-account-add-apple",
"allow-account-remove",
"allow-portfolio-status",
"allow-open-external",
"allow-tools-info",
"allow-tools-install",
"allow-tools-uninstall",
"allow-workspace-get",
"allow-studio-save",
"allow-studio-remove",
"allow-studio-logo",
"allow-account-update",
"allow-account-set-play-developer",
"allow-account-check",
"allow-store-apps-refresh",
"allow-store-apps-cached",
"allow-overrides-set",
"allow-settings-set",
"allow-cache-info",
"allow-data-reveal",
"allow-notify",
"allow-tray-update",
"allow-app-reset",
"allow-update-check",
"allow-update-install",
"allow-project-import-fastlane",
"allow-export-save",
"allow-price-sheet-pick",
"allow-image-pick",
"allow-project-reveal",
"allow-project-locate",
"allow-state-reset",
"allow-log-webview",
"allow-ai-fix-info",
"allow-ai-fix-run",
"allow-ai-fix-undo"
]
}