diff --git a/desktop/main.js b/desktop/main.js index 8ec0f25..b9518f3 100644 --- a/desktop/main.js +++ b/desktop/main.js @@ -17,6 +17,11 @@ const path = require('path'); let autoUpdater = null; try { ({ autoUpdater } = require('electron-updater')); } catch (_) { /* not installed in dev */ } +// Windows attributes notifications to the AppUserModelID. Without setting it, toasts read +// "electron.app."; setting it to the installer's appId makes Windows resolve the +// installed "Biz Connect" shortcut, so notifications show "Biz Connect". +app.setAppUserModelId('com.bizgaze.connect.desktop'); + // Renderer asks (via preload) to raise the window — e.g. when an OS notification is clicked. ipcMain.on('focus-window', () => { if (!win) return; diff --git a/desktop/package.json b/desktop/package.json index dfc4ff0..3a43767 100644 --- a/desktop/package.json +++ b/desktop/package.json @@ -1,6 +1,6 @@ { "name": "biz-connect-desktop", - "version": "0.1.0", + "version": "0.1.1", "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", diff --git a/server/public/home.html b/server/public/home.html index 8eae0f8..fc963e7 100644 --- a/server/public/home.html +++ b/server/public/home.html @@ -731,7 +731,7 @@ - +
Loading…
@@ -2704,13 +2704,13 @@ async function renderLogin(){ `:''} -
- Email +
+ Email Password${pwField('li_pw','password')} - +

-
+ ${regOpen?``:''} `; - document.getElementById('li_btn').onclick=doLogin; + document.getElementById('loginForm').addEventListener('submit',(e)=>{ e.preventDefault(); doLogin(); }); // Enter or "Sign in" both submit wireEyes(); - onEnter(['li_email','li_pw'],doLogin); if(regOpen){ const lf=document.getElementById('loginForm'), rf=document.getElementById('regForm'); const tl=document.getElementById('tabLogin'), tr=document.getElementById('tabReg');