This repository has been archived on 2025-01-09. You can view files and clone it, but cannot push or open issues or pull requests.

18 lines
329 B
JavaScript
Raw Permalink Normal View History

2025-01-09 18:30:49 +08:00
const { app, BowserWindow } = require('electron')
app.whenReady().then(() => {
const mainWin = new BowserWindow({
width: 600,
height: 400
})
mainWin.loadFile('index.html')
mainWin.on('close', () => {
console.log(111);
})
})
app.on('window-all-closed', () => {
app.quit()
})