adaa19a1ef
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>
52 lines
1.1 KiB
JSON
52 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "MiniCloud Sync",
|
|
"version": "0.1.0",
|
|
"identifier": "com.minicloud.sync",
|
|
"build": {
|
|
"beforeDevCommand": "npm run dev",
|
|
"devUrl": "http://localhost:1420",
|
|
"beforeBuildCommand": "npm run build",
|
|
"frontendDist": "../dist"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "Mini-Cloud Sync",
|
|
"width": 700,
|
|
"height": 550,
|
|
"resizable": true,
|
|
"center": 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"
|
|
],
|
|
"fileAssociations": [
|
|
{
|
|
"ext": ["cloud"],
|
|
"mimeType": "application/x-minicloud",
|
|
"description": "Mini-Cloud Platzhalter"
|
|
}
|
|
],
|
|
"windows": {
|
|
"nsis": {
|
|
"installerIcon": "icons/icon.ico",
|
|
"headerImage": null,
|
|
"sidebarImage": null
|
|
}
|
|
}
|
|
}
|
|
}
|