const{app:app,BrowserWindow:BrowserWindow}=require("electron"),init=require("./init");let win;function startApp(){init()}app.on("ready",startApp),app.on("window-all-closed",()=>{app.quit()}),app.on("activate",()=>{null===win&&startApp()});