fix: Durchsuchen-Button, Tray-Icon, Minimize statt Close, .cloud Handler

1. Durchsuchen-Button: dialog:allow-open Permission in capabilities
2. Tray-Icon: Nutzt das App-Icon (32x32.png) statt leer
3. Close = Minimize: Fenster wird versteckt statt App beendet,
   Doppelklick auf Tray-Icon oeffnet wieder
4. .cloud Datei-Handler:
   - fileAssociations in tauri.conf.json registriert .cloud Extension
   - NSIS-Installer registriert den Handler automatisch
   - Doppelklick auf .cloud -> App startet, laedt Datei runter,
     oeffnet mit Standard-App (Word/Excel/etc.)
   - Wenn App laeuft: Event wird emitted, Frontend verarbeitet es

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Stefan Hacker
2026-04-12 00:57:18 +02:00
parent 505545f26c
commit adaa19a1ef
4 changed files with 67 additions and 4 deletions
+15 -1
View File
@@ -32,6 +32,20 @@
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
]
],
"fileAssociations": [
{
"ext": ["cloud"],
"mimeType": "application/x-minicloud",
"description": "Mini-Cloud Platzhalter"
}
],
"windows": {
"nsis": {
"installerIcon": "icons/icon.ico",
"headerImage": null,
"sidebarImage": null
}
}
}
}