{
  "$schema": "https://schema.tauri.app/config/2",
  "productName": "PAPA YU",
  "version": "0.1.0",
  "identifier": "com.papa-yu",

  "plugins": {
    "updater": {
      "endpoints": [
        "https://github.com/yrippert-maker/papayu/releases/latest/download/latest.json"
      ],
      "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEQwOUFBRjlEQzMwODc5QjQKUldTMGVRakRuYSthMEM1RVp2aHpYbTduNG5zcTR5N0tYOFdqQzI0VXB3QlhRT0F6OEFpOVE5djYK"
    }
  },

  "build": {
    "beforeDevCommand": "cd \"${PAPAYU_PROJECT_ROOT:-$HOME/PAPA-YU}/desktop/ui\" && npm run dev -- --port 5173",
    "beforeBuildCommand": "cd \"${PAPAYU_PROJECT_ROOT:-$HOME/PAPA-YU}/desktop/ui\" && npm run build",
    "devUrl": "http://localhost:5173",
    "frontendDist": "../ui/dist"
  },

  "app": {
    "windows": [
      {
        "title": "PAPA YU",
        "width": 800,
        "height": 600,
        "resizable": true,
        "fullscreen": false
      }
    ],
    "security": {
      "csp": null
    }
  },

  "bundle": {
    "active": true,
    "targets": "all",
    "icon": [
      "icons/32x32.png",
      "icons/128x128.png",
      "icons/128x128@2x.png",
      "icons/icon.icns",
      "icons/icon.ico"
    ]
  }
}
