feat(desktop): real Windows inline reply via SnoreToast -tb + sender/group avatar
- node-notifier's WindowsToaster forwards raw opts to SnoreToast, so inject -tb (reply box) + -p (image). Reuses its named-pipe + result parsing (exit 5 = TextEntered). No pwsh needed. Logs the raw toast result to userData/toast-debug.log to confirm the reply field on real HW. - home.html: notifAvatarDataUrl draws the DM sender's pic / group's DP (else colored initials) to a round PNG and passes it as the toast image. Reply -> sendReplyTo; click -> open chat. - dropped powertoast (ESM + needs pwsh 7, absent here). build batch22. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+29
-8
@@ -2,7 +2,10 @@
|
||||
"name": "biz-connect-desktop",
|
||||
"version": "0.1.2",
|
||||
"description": "Biz Connect technician desktop client — loads the Connect web UI with native screen capture",
|
||||
"author": { "name": "BizGaze", "email": "support@bizgaze.com" },
|
||||
"author": {
|
||||
"name": "BizGaze",
|
||||
"email": "support@bizgaze.com"
|
||||
},
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
"start": "electron .",
|
||||
@@ -19,12 +22,23 @@
|
||||
"build": {
|
||||
"appId": "com.bizgaze.connect.desktop",
|
||||
"productName": "Biz Connect",
|
||||
"directories": { "buildResources": "build", "output": "dist" },
|
||||
"asarUnpack": ["**/node_modules/node-notifier/**"],
|
||||
"publish": [
|
||||
{ "provider": "generic", "url": "https://remote.bizgaze.com/downloads/" }
|
||||
"directories": {
|
||||
"buildResources": "build",
|
||||
"output": "dist"
|
||||
},
|
||||
"asarUnpack": [
|
||||
"**/node_modules/node-notifier/**"
|
||||
],
|
||||
"win": { "target": "nsis", "icon": "build/icon.ico" },
|
||||
"publish": [
|
||||
{
|
||||
"provider": "generic",
|
||||
"url": "https://remote.bizgaze.com/downloads/"
|
||||
}
|
||||
],
|
||||
"win": {
|
||||
"target": "nsis",
|
||||
"icon": "build/icon.ico"
|
||||
},
|
||||
"nsis": {
|
||||
"oneClick": true,
|
||||
"perMachine": false,
|
||||
@@ -33,7 +47,14 @@
|
||||
"shortcutName": "Biz Connect",
|
||||
"runAfterFinish": true
|
||||
},
|
||||
"mac": { "target": "dmg", "category": "public.app-category.business", "icon": "build/icon.ico" },
|
||||
"linux": { "target": "AppImage", "category": "Network" }
|
||||
"mac": {
|
||||
"target": "dmg",
|
||||
"category": "public.app-category.business",
|
||||
"icon": "build/icon.ico"
|
||||
},
|
||||
"linux": {
|
||||
"target": "AppImage",
|
||||
"category": "Network"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user