{
  "$schema": "../gen/schemas/desktop-schema.json",
  "identifier": "default",
  "description": "Default capabilities for TypoGenie portable app",
  "windows": [
    "main"
  ],
  "permissions": [
    "core:default",
    "dialog:default",
    "dialog:allow-open",
    "dialog:allow-save",
    "fs:default",
    "fs:allow-read-file",
    "fs:allow-write-file",
    "fs:allow-read-dir",
    "fs:allow-copy-file",
    "fs:allow-remove",
    "fs:allow-rename",
    "fs:allow-exists",
    "fs:allow-mkdir",
    "fs:allow-applocaldata-read",
    "fs:allow-applocaldata-write",
    "fs:allow-resource-read",
    "fs:allow-resource-write",
    "fs:allow-exe-read",
    "fs:allow-exe-write",
    "store:default",
    "window-state:default",
    "http:default",
    "http:allow-fetch",
    "shell:default",
    "shell:allow-open",
    "opener:default",
    {
      "identifier": "http:allow-fetch",
      "allow": [
        {
          "url": "https://fonts.google.com/*"
        },
        {
          "url": "https://github.com/*"
        },
        {
          "url": "https://*.githubusercontent.com/*"
        },
        {
          "url": "https://fonts.googleapis.com/*"
        }
      ]
    },
    {
      "identifier": "shell:allow-open",
      "allow": [
        {
          "url": "https://*"
        },
        {
          "url": "http://*"
        }
      ]
    },
    {
      "identifier": "fs:scope",
      "allow": [
        {
          "path": "$EXE/**"
        },
        {
          "path": "$EXE/../**"
        },
        {
          "path": "$EXE/TypoGenie-Data/**"
        },
        {
          "path": "$EXE/templates/**"
        },
        {
          "path": "$APPLOCALDATA/**"
        },
        {
          "path": "$RESOURCE/**"
        },
        {
          "path": "$HOME"
        },
        {
          "path": "$HOME/**"
        },
        {
          "path": "$DESKTOP"
        },
        {
          "path": "$DESKTOP/**"
        },
        {
          "path": "$DOCUMENT"
        },
        {
          "path": "$DOCUMENT/**"
        },
        {
          "path": "$DOWNLOAD"
        },
        {
          "path": "$DOWNLOAD/**"
        }
      ]
    }
  ]
}
