{
  "$schema": "https://schema.tauri.app/config/2",
  "productName": "Mycellium UI",
  "version": "0.1.0",
  "identifier": "tech.threefold.mycellium-ui",
  "build": {
    "beforeDevCommand": "pnpm dev",
    "devUrl": "http://localhost:1420",
    "beforeBuildCommand": "pnpm build",
    "frontendDist": "../dist"
  },
  "app": {
    "withGlobalTauri": false,
    "windows": [
      {
        "label": "main",
        "title": "Mycellium",
        "width": 1100,
        "height": 720,
        "minWidth": 800,
        "minHeight": 600,
        "resizable": true
      }
    ],
    "security": {
      "csp": null
    }
  },
  "bundle": {
    "active": true,
    "targets": ["deb", "appimage"],
    "category": "Utility",
    "shortDescription": "Mycelium overlay network client",
    "longDescription": "Desktop GUI for the Mycelium end-to-end encrypted IPv6 overlay network.",
    "icon": [
      "icons/32x32.png",
      "icons/128x128.png",
      "icons/128x128@2x.png"
    ],
    "externalBin": ["binaries/mycelium"],
    "linux": {
      "deb": {
        "depends": ["policykit-1"],
        "files": {
          "/usr/share/polkit-1/actions/tech.threefold.mycellium-ui.policy": "packaging/polkit/tech.threefold.mycellium-ui.policy"
        }
      }
    }
  }
}
