const {app,BrowserWindow} = require('electron')
function createWindow(){
let win = new BrowserWindow({width: 800, height: 600})
win.loadURL('https://github.com')
win.on('closed', () => {
win = null
})
}
app.on('ready',createWindow)
当我运行应用程序时,窗口弹出但显示为空白。