const { contextBridge } = require("electron");

// Minimal, safe bridge. Lets the web app detect it is running inside the desktop
// shell (e.g. to hide the in-page "Install app" PWA prompt). No privileged APIs
// are exposed.
contextBridge.exposeInMainWorld("ovellanDesktop", {
  isDesktopApp: true,
  platform: process.platform
});
