{
  "$schema": "../gen/schemas/capabilities.json",
  "identifier": "main",
  "description": "Main permissions",
  "local": true,
  "windows": [
    "*"
  ],
  "permissions": [
    "os:allow-os-type",
    "event:allow-emit",
    "clipboard-manager:allow-write-text",
    "clipboard-manager:allow-read-text",
    "dialog:allow-open",
    "dialog:allow-save",
    "event:allow-listen",
    "event:allow-unlisten",
    "fs:allow-read-file",
    "fs:allow-read-text-file",
    {
      "identifier": "fs:scope",
      "allow": [
        {
          "path": "$APPDATA"
        },
        {
          "path": "$APPDATA/**"
        }
      ]
    },
    "shell:allow-open",
    {
      "identifier": "shell:allow-execute",
      "allow": [
        {
          "name": "protoc",
          "sidecar": true,
          "args": true
        }
      ]
    },
    "webview:allow-set-webview-zoom",
    "window:allow-close",
    "window:allow-is-fullscreen",
    "window:allow-maximize",
    "window:allow-minimize",
    "window:allow-toggle-maximize",
    "window:allow-set-decorations",
    "window:allow-set-title",
    "window:allow-start-dragging",
    "window:allow-unmaximize",
    "window:allow-theme",
    "clipboard-manager:allow-read-text",
    "clipboard-manager:allow-write-text"
  ]
}
