import { app } from "electron"; app.whenReady().then(() => { console.log( JSON.stringify({ evt: "smoke", ok: true, execArgv: process.execArgv, enableLogging: process.env.ELECTRON_ENABLE_LOGGING === "1", logsPath: app.getPath("logs"), isPackaged: app.isPackaged, }), ); app.quit(); });