Files
BizGaze_Remote/desktop/package.json
T
Sravan 3f209bf619 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>
2026-07-01 23:26:24 +05:30

61 lines
1.4 KiB
JSON

{
"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"
},
"main": "main.js",
"scripts": {
"start": "electron .",
"dist": "electron-builder"
},
"dependencies": {
"electron-updater": "^6.3.9",
"node-notifier": "^10.0.1"
},
"devDependencies": {
"electron": "^31.0.0",
"electron-builder": "^24.13.3"
},
"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/"
}
],
"win": {
"target": "nsis",
"icon": "build/icon.ico"
},
"nsis": {
"oneClick": true,
"perMachine": false,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "Biz Connect",
"runAfterFinish": true
},
"mac": {
"target": "dmg",
"category": "public.app-category.business",
"icon": "build/icon.ico"
},
"linux": {
"target": "AppImage",
"category": "Network"
}
}
}