Cargo workspace with core/ble/fit/probe crates. crates/core/src/types.rs is the fixed contract between the BLE layer, ride engine and UI. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
49 lines
1.2 KiB
JSON
49 lines
1.2 KiB
JSON
{
|
|
"$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",
|
|
"shortDescription": "Indoor cycling trainer control",
|
|
"longDescription": "Control a smart trainer over BLE, ride gradient profiles and synthetic waveforms, and record the result."
|
|
}
|
|
}
|