{
  "$schema": "https://schema.tauri.app/config/2",
  "productName": "BikeControl",
  "version": "0.1.0",
  "identifier": "paris.tourolle.bikecontrol",
  "build": {
    "frontendDist": "../ui/dist",
    "devUrl": "http://localhost:1420",
    "beforeDevCommand": {
      "cwd": "../ui",
      "script": "npm run dev"
    },
    "beforeBuildCommand": {
      "cwd": "../ui",
      "script": "npm run build"
    }
  },
  "app": {
    "windows": [
      {
        "title": "BikeControl",
        "width": 1440,
        "height": 900,
        "minWidth": 960,
        "minHeight": 640,
        "resizable": true,
        "fullscreen": false,
        "backgroundColor": "#07090d"
      }
    ],
    "security": {
      "csp": "default-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; connect-src ipc: http://ipc.localhost"
    }
  },
  "bundle": {
    "active": true,
    "targets": "all",
    "icon": [
      "icons/32x32.png",
      "icons/128x128.png",
      "icons/128x128@2x.png",
      "icons/icon.png"
    ],
    "category": "Utility",
    "android": {
      "versionCode": 1100
    },
    "shortDescription": "Indoor cycling trainer control",
    "longDescription": "Control a smart trainer over BLE, ride gradient profiles and synthetic waveforms, and record the result."
  }
}
