{
    "$schema": "../gen/schemas/desktop-schema.json",
    "identifier": "default",
    "description": "Capability for the window",
    "windows": ["main", "settings", "tray-menu", "preview*", "popup-*"],
    "permissions": [
        "core:default",
        "opener:default",
        "core:window:default",
        "core:window:allow-start-dragging",
        "core:window:allow-hide",
        "core:window:allow-show",
        "core:window:allow-set-focus",
        "core:window:allow-set-size",
        "core:window:allow-set-position",
        "core:window:allow-set-always-on-top",
        "core:window:allow-is-maximized",
        "core:window:allow-maximize",
        "core:window:allow-unmaximize",
        "core:window:allow-minimize",
        "core:window:allow-close",
        "global-shortcut:allow-register",
        "global-shortcut:allow-unregister",
        "notification:default",
        "notification:allow-is-permission-granted",
        "notification:allow-request-permission",
        "notification:allow-notify",
        "log:default",
        "process:allow-exit",
        "process:allow-restart",
        "shell:allow-execute",
        "shell:allow-kill",
        "shell:allow-stdin-write",
        "shell:allow-open",
        {
            "identifier": "shell:allow-spawn",
            "allow": [
                {
                    "name": "pnpx",
                    "cmd": "pnpx",
                    "args": true,
                    "sidecar": false
                },
                {
                    "name": "npx",
                    "cmd": "npx",
                    "args": true,
                    "sidecar": false
                },
                {
                    "name": "node",
                    "cmd": "node",
                    "args": true,
                    "sidecar": false
                },
                {
                    "name": "cmd",
                    "cmd": "cmd",
                    "args": true,
                    "sidecar": false
                },
                {
                    "name": "powershell",
                    "cmd": "powershell",
                    "args": true,
                    "sidecar": false
                }
            ]
        },
        "fs-pro:default",
        "dialog:default",
        "deep-link:default",
        "core:path:default",
        "core:path:allow-resolve-directory",
        "core:path:allow-resolve",
        {
            "identifier": "fs:allow-copy-file",
            "allow": [
                {
                    "path": "$APPDATA/**"
                },
                {
                    "path": "$TEMP/**"
                },
                {
                    "path": "**"
                }
            ]
        },
        {
            "identifier": "fs:allow-mkdir",
            "allow": [
                {
                    "path": "$APPDATA/**"
                },
                {
                    "path": "$TEMP/**"
                },
                {
                    "path": "**"
                }
            ]
        },
        {
            "identifier": "fs:allow-exists",
            "allow": [
                {
                    "path": "$APPDATA/**"
                },
                {
                    "path": "$TEMP/**"
                },
                {
                    "path": "**"
                }
            ]
        },
        {
            "identifier": "fs:allow-stat",
            "allow": [
                {
                    "path": "**"
                }
            ]
        },
        {
            "identifier": "fs:allow-read",
            "allow": [
                {
                    "path": "**"
                }
            ]
        },
        {
            "identifier": "fs:allow-read-dir",
            "allow": [
                {
                    "path": "**"
                }
            ]
        },
        {
            "identifier": "fs:allow-read-file",
            "allow": [
                {
                    "path": "**"
                }
            ]
        },
        {
            "identifier": "fs:allow-open",
            "allow": [
                {
                    "path": "**"
                }
            ]
        },
        {
            "identifier": "fs:allow-remove",
            "allow": [
                {
                    "path": "$TEMP/**"
                }
            ]
        },
        {
            "identifier": "http:default",
            "allow": [
                {
                    "url": "https://**"
                },
                {
                    "url": "http://**"
                }
            ]
        },
        {
            "identifier": "opener:allow-open-path",
            "allow": [
                {
                    "path": "**/*"
                }
            ]
        }
    ]
}
