9cb59d723e
Real bugs found by actually compiling the Tauri crate for the first time: - Cargo.toml declared a [lib] with no src/lib.rs (cargo refused to parse the manifest) — added the standard Tauri 2 main.rs/lib.rs split. - generate_context!() needs real icon files; icons/ only had a .gitkeep. Added placeholder PNG/ICO/ICNS icons. Also simplified: dropped the tray icon + menu (one more moving part not needed yet), and the telemetry store's exponential backoff is now a fixed 3s retry, matching the same simplification made to continuum-proxy's uplink client. Fixed two real TS bugs while typechecking apps/web for the first time (missing @types/node for nuxt.config.ts's process.env access, untyped useFetch call inferring 'never'). Verified: cargo check (desktop), vue-tsc --noEmit (web + ui packages) all clean.
45 lines
944 B
JSON
45 lines
944 B
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "Continuum",
|
|
"version": "0.1.0",
|
|
"identifier": "com.continuum3d.desktop",
|
|
"build": {
|
|
"beforeDevCommand": "pnpm --filter @continuum/web dev",
|
|
"beforeBuildCommand": "pnpm --filter @continuum/web generate",
|
|
"devUrl": "http://localhost:3000",
|
|
"frontendDist": "../dist"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"label": "main",
|
|
"title": "Continuum",
|
|
"width": 1280,
|
|
"height": 800,
|
|
"minWidth": 960,
|
|
"minHeight": 600,
|
|
"resizable": true
|
|
}
|
|
],
|
|
"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"
|
|
]
|
|
},
|
|
"plugins": {
|
|
"fs": {
|
|
"scope": ["$APPDATA/continuum/**", "$DOWNLOAD/**"]
|
|
}
|
|
}
|
|
}
|