678ba51725
- tauri-plugin-updater 2.11 + semver eingebunden; pubkey, installMode passive und createUpdaterArtifacts in tauri.conf.json (kein endpoints, keine dangerous*-Schalter) - Versionspruefung laeuft ueber updater_builder().check() gegen /api-proxy/desktop/update mit eigenem version_comparator (is_update_newer: hoehere Basis oder anderer Beta-Stempel beta.g<sha7>; gleiche Basis Live → kein Update); 15 s Pruefung, 600 s Download-Timeout - Tray-Eintrag "Update installieren" laedt mit Fortschritt im Menuetext, prueft die minisign-Signatur, installiert (Windows NSIS passiv, Linux AppImage an Ort und Stelle) und startet neu; Fehler → Benachrichtigung und Rueckfall auf die Einstellungsseite im Browser - http-Server im Release: Menuetext "Update nur über https möglich", gesperrt - 15 neue Tests, 2 umgestellt (33 gesamt); gen/schemas vom Bau nachgezogen Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
62 lines
1.6 KiB
JSON
62 lines
1.6 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/tauri-apps/tauri/dev/crates/tauri-config-schema/schema.json",
|
|
"productName": "Tessera",
|
|
"version": "1.1.0",
|
|
"identifier": "de.ctl.tessera.desktop",
|
|
"build": {
|
|
"frontendDist": "../src",
|
|
"devUrl": "http://localhost:1420"
|
|
},
|
|
"app": {
|
|
"withGlobalTauri": true,
|
|
"windows": [
|
|
{
|
|
"label": "main",
|
|
"title": "Tessera",
|
|
"url": "setup.html",
|
|
"width": 1280,
|
|
"height": 800,
|
|
"center": true,
|
|
"decorations": true,
|
|
"resizable": true
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; connect-src 'self'"
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"createUpdaterArtifacts": true,
|
|
"targets": [
|
|
"appimage",
|
|
"nsis"
|
|
],
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.png",
|
|
"icons/icon.ico"
|
|
],
|
|
"windows": {
|
|
"nsis": {
|
|
"languages": ["German"],
|
|
"displayLanguageSelector": false,
|
|
"installerIcon": "icons/icon.ico",
|
|
"headerImage": "icons/nsis-header.bmp",
|
|
"sidebarImage": "icons/nsis-sidebar.bmp",
|
|
"installMode": "currentUser"
|
|
}
|
|
}
|
|
},
|
|
"plugins": {
|
|
"updater": {
|
|
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEIxNDIxMTZDMUFGRkJCRjEKUldUeHUvOGFiQkZDc2V0cnJZcmJVSURraGJHcE5TODVDeUp3UEVpM0xOc3I5TUZrNW5qZUw0d2gK",
|
|
"windows": {
|
|
"installMode": "passive"
|
|
}
|
|
}
|
|
}
|
|
}
|