Al abrir, la app busca en segundo plano una versión nueva en los Releases de GitHub (latest.json), y si la hay —firmada con nuestra clave— la instala sola y reinicia. - Cargo/lib.rs: tauri-plugin-updater + check_update() en el arranque (no bloquea). - tauri.conf.json: bundle.createUpdaterArtifacts=true y plugins.updater con el endpoint (releases/latest/download/latest.json) y la clave PÚBLICA de verificación. - CI: build.yml pasa a tauri-apps/tauri-action, que construye el .exe (Windows) y el .dmg universal (macOS), firma los artefactos del updater y publica todo —incluido latest.json— en un Release. Requiere los secrets TAURI_SIGNING_PRIVATE_KEY y TAURI_SIGNING_PRIVATE_KEY_PASSWORD (la clave privada NO va en el repo). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
51 líneas
1.4 KiB
JSON
51 líneas
1.4 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "Labstream OS",
|
|
"version": "1.0.0",
|
|
"identifier": "co.labstream.os",
|
|
"build": {
|
|
"frontendDist": "../dist"
|
|
},
|
|
"app": {
|
|
"withGlobalTauri": true,
|
|
"windows": [],
|
|
"security": {
|
|
"csp": null
|
|
}
|
|
},
|
|
"plugins": {
|
|
"updater": {
|
|
"endpoints": [
|
|
"https://github.com/Labstream2026/labstream-desktop/releases/latest/download/latest.json"
|
|
],
|
|
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IERDNjE5MUE3NjlGRUMxRjEKUldUeHdmNXBwNUZoM05sZ1lSTDVaalJ6NGU2NUNEQUF3Z211SnhhU0EvWm1VREdlVnM0N0pHS00K"
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"createUpdaterArtifacts": true,
|
|
"publisher": "Labstream SAS",
|
|
"category": "Productivity",
|
|
"shortDescription": "Espacio de trabajo de Labstream",
|
|
"longDescription": "Cliente de escritorio de Labstream OS para Windows y macOS. Abre el espacio de trabajo de Labstream en su propia ventana.",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
],
|
|
"windows": {
|
|
"nsis": {
|
|
"installMode": "currentUser",
|
|
"languages": ["Spanish", "SpanishInternational", "English"]
|
|
}
|
|
},
|
|
"macOS": {
|
|
"minimumSystemVersion": "10.15",
|
|
"entitlements": "Entitlements.plist"
|
|
}
|
|
}
|
|
}
|