feat: 添加依赖以及配置

This commit is contained in:
algerkc@qq.com
2023-12-18 16:41:56 +08:00
parent f893de62cd
commit cf598f1c9c
3 changed files with 22 additions and 1 deletions
+15
View File
@@ -0,0 +1,15 @@
const { app, BrowserWindow } = require('electron')
function createWindow () {
const win = new BrowserWindow({
width: 800,
height: 600,
webPreferences: {
nodeIntegration: true,
}
})
win.loadURL('http://localhost:4678/')
}
app.whenReady().then(createWindow)