5da2069eba
- System tray with Open/Quit menu + left-click toggle; closing the window now minimizes to tray instead of quitting, so notifications keep arriving. - Single-instance: a second launch focuses the running window (and forwards a matrix: link) instead of colliding on the localhost port. - Window: 1100x720 default, 480x600 min, centered first run; starts hidden and shows on page-load to kill the white launch flash (8s failsafe). - matrix: deep links via tauri-plugin-deep-link -> dispatched to the web client (useDeepLinkNavigate) for both cold-start and already-running cases. - Windows 11 Mica backdrop (subtle; app paints opaque TDS bg). - NSIS installer: per-user install (no UAC), downloadBootstrapper. - Remove dead/broken src/menu.rs. - Bump cinny submodule to 053b364a (deep-link web handler). Note: Rust not compiled locally (no toolchain / Windows-only paths); verified by careful API review against tauri 2.10 — needs a real 'tauri build' to confirm. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
76 lines
2.3 KiB
JSON
76 lines
2.3 KiB
JSON
{
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"windows": {
|
|
"certificateThumbprint": null,
|
|
"digestAlgorithm": "sha256",
|
|
"timestampUrl": "",
|
|
"webviewInstallMode": {
|
|
"type": "downloadBootstrapper"
|
|
},
|
|
"nsis": {
|
|
"installMode": "currentUser"
|
|
},
|
|
"wix": {
|
|
"bannerPath": "wix/banner.bmp",
|
|
"dialogImagePath": "wix/dialogImage.bmp"
|
|
}
|
|
},
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
],
|
|
"resources": [],
|
|
"externalBin": [],
|
|
"copyright": "",
|
|
"category": "SocialNetworking",
|
|
"shortDescription": "Yet another matrix client",
|
|
"longDescription": "",
|
|
"macOS": {
|
|
"frameworks": [],
|
|
"minimumSystemVersion": "",
|
|
"exceptionDomain": "",
|
|
"signingIdentity": null,
|
|
"providerShortName": null,
|
|
"entitlements": null
|
|
},
|
|
"linux": {
|
|
"deb": {
|
|
"depends": []
|
|
}
|
|
},
|
|
"createUpdaterArtifacts": "v1Compatible"
|
|
},
|
|
"build": {
|
|
"beforeBuildCommand": "cd cinny && npm run build",
|
|
"frontendDist": "../cinny/dist",
|
|
"beforeDevCommand": "cd cinny && npm start",
|
|
"devUrl": "http://localhost:8080"
|
|
},
|
|
"productName": "Lotus Chat",
|
|
"mainBinaryName": "cinny",
|
|
"version": "4.12.2",
|
|
"identifier": "org.lotusguild.lotus-chat",
|
|
"plugins": {
|
|
"updater": {
|
|
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDM1N0Y0RThCQTJEQzY1NTkKUldSWlpkeWlpMDUvTlVjejMzN0E1U0FiaVpLK05QVkRXdWlMMm1NNUprMXAvTGZSbU5maVovNmwK",
|
|
"endpoints": [
|
|
"https://code.lotusguild.org/LotusGuild/cinny-desktop/releases/download/latest/release.json"
|
|
]
|
|
},
|
|
"deep-link": {
|
|
"desktop": {
|
|
"schemes": ["matrix"]
|
|
}
|
|
}
|
|
},
|
|
"app": {
|
|
"security": {
|
|
"csp": "default-src 'self' blob: data: filesystem: ws: wss: http: https: tauri:; script-src 'self' 'unsafe-eval' 'unsafe-inline' blob: data: filesystem: ws: wss: http: https: tauri:; style-src 'self' 'unsafe-inline' blob: data: filesystem: http: https:; img-src 'self' data: blob: filesystem: http: https:; media-src 'self' blob: data: mediastream:; connect-src 'self' blob: ipc: ws: wss: http: https: http://ipc.localhost"
|
|
}
|
|
}
|
|
} |