// Minimal, safe bridge into the web UI. Runs with contextIsolation, so it only exposes a // frozen marker the web app can feature-detect against (e.g. to hide the PWA install prompt // or prefer native push). No Node APIs are exposed to page JS. const { contextBridge } = require('electron'); contextBridge.exposeInMainWorld('__NATIVE__', 'desktop'); contextBridge.exposeInMainWorld('bizConnectNative', Object.freeze({ platform: 'desktop', version: process.env.npm_package_version || '0.1.0', }));