import { app, BrowserWindow } from "electron"; const smoke = process.argv.includes("--smoke") || process.env.DEMO_SMOKE === "1"; app.whenReady().then(async () => { const window = new BrowserWindow({ width: 720, height: 480, show: false, webPreferences: { contextIsolation: true, sandbox: true, nodeIntegration: false, }, }); window.once("ready-to-show", () => { window.show(); }); await window.loadURL("data:text/html,