mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-23 23:57:22 +08:00
✨ feat: 添加依赖以及配置
This commit is contained in:
+15
@@ -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)
|
||||
Reference in New Issue
Block a user