{
  "$schema": "../node_modules/@tauri-apps/cli/schema.json",
  "build": {
    "beforeDevCommand": "yarn start",
    "devPath": "http://localhost:3000",
    "distDir": "../build"
  },
  "package": {
    "productName": "Cultivation",
    "version": "1.2.0"
  },
  "tauri": {
    "allowlist": {
      "fs": {
        "scope": ["$DATA", "$DATA/cultivation", "$DATA/cultivation/**"]
      },
      "protocol": {
        "all": true,
        "asset": true,
        "assetScope": ["$DATA", "$DATA/cultivation", "$DATA/cultivation/**"]
      },
      "all": true
    },
    "bundle": {
      "active": true,
      "category": "Game",
      "copyright": "",
      "deb": {
        "depends": []
      },
      "externalBin": [],
      "icon": ["icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico"],
      "identifier": "io.grasscutter",
      "shortDescription": "A game launcher.",
      "longDescription": "A launcher for a certain anime game that proxies all related game traffic to external servers.",
      "macOS": {
        "entitlements": null,
        "exceptionDomain": "",
        "frameworks": [],
        "providerShortName": null,
        "signingIdentity": null
      },
      "resources": ["lang/*.json", "keys/*", "patch/*"],
      "targets": "all",
      "windows": {
        "allowDowngrades": false,
        "certificateThumbprint": null,
        "digestAlgorithm": "sha256",
        "timestampUrl": "",
        "wix": {
          "fragmentPaths": ["resources/wix.wxs"]
        }
      }
    },
    "security": {
      "csp": "default-src 'self'; img-src 'self' https://* asset: https://asset.localhost tauri://localhost; media-src https://* asset: https://asset.localhost tauri://localhost; style-src-elem https://* asset: https://asset.localhost tauri://localhost; script-src-elem https://* asset: https://asset.localhost tauri://localhost;"
    },
    "updater": {
      "active": false,
      "dialog": true,
      "endpoints": [
        "https://api.grasscutter.io/cultivation/updater?version={{current_version}}",
        "https://api.grasscutters.xyz/cultivation/updater?version={{current_version}}"
      ],
      "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEIyM0MzMzk0NkM4OTQzNQpSV1ExbE1oR09jTWpDNFJ4NURsaS9mdHpDWmpBM3JNVHkrdER4bS9KdHFCQnNVSWs0ZjZTU295WAo="
    },
    "windows": [
      {
        "fullscreen": false,
        "height": 730,
        "resizable": true,
        "title": "Cultivation",
        "width": 1280,
        "decorations": false
      }
    ]
  }
}
