{
  "$schema": "https://github.com/tauri-apps/tauri/raw/tauri-v1.4.1/core/tauri-config-schema/schema.json",
  "build": {
    "beforeDevCommand": "pnpm dev",
    "beforeBuildCommand": "pnpm build",
    "devPath": "http://localhost:1420",
    "distDir": "../dist",
    "withGlobalTauri": false
  },
  "package": {
    "productName": "s3si-ts",
    "version": "0.4.12"
  },
  "tauri": {
    "allowlist": {
      "all": false,
      "shell": {
        "sidecar": true,
        "execute": true,
        "scope": [
          {
            "name": "../binaries/s3si",
            "sidecar": true
          },
          {
            "name": "deno",
            "cmd": "deno",
            "args": [
              "run",
              "-A",
              "../../src/daemon.ts"
            ]
          }
        ],
        "all": false,
        "open": true
      },
      "window": {
        "all": true
      },
      "fs": {
        "scope": [
          "$APPCONFIG/**/*",
          "$APPDATA/**/*",
          "$APPCACHE/**/*"
        ],
        "all": true
      },
      "path": {
        "all": true
      },
      "process": {
        "all": false,
        "relaunch": true
      }
    },
    "bundle": {
      "active": true,
      "icon": [
        "icons/32x32.png",
        "icons/128x128.png",
        "icons/128x128@2x.png",
        "icons/icon.icns",
        "icons/icon.ico"
      ],
      "identifier": "cn.imspace.s3si.ts",
      "targets": "all",
      "externalBin": [
        "../binaries/s3si"
      ]
    },
    "security": {
      "csp": null,
      "dangerousRemoteDomainIpcAccess": [
        {
          "windows": [
            "login"
          ],
          "domain": "accounts.nintendo.com",
          "enableTauriAPI": true
        }
      ]
    },
    "updater": {
      "active": false,
      "endpoints": [
        "https://s3si-update.imspace.cn/v1/{{target}}/{{arch}}/{{current_version}}",
        "https://gist.githubusercontent.com/spacemeowx2/a67078487d3450b75927953f6edc14e2/raw/update-request.json"
      ],
      "dialog": true,
      "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IERBMzkzNjFEQ0ZCMjc5QjAKUldTd2ViTFBIVFk1MmdubFh6UTc0NndsZnBQV2hnR3NNSThTYlNudENWYm5yZ0JBRDM0MlloRjAK"
    },
    "windows": [
      {
        "fullscreen": false,
        "resizable": true,
        "title": "s3si.ts",
        "width": 500,
        "height": 600,
        "minWidth": 400,
        "minHeight": 500,
        "visible": false
      }
    ]
  }
}