Files
AlgerMusicPlayer/electron.js
2023-12-18 16:41:56 +08:00

15 lines
286 B
JavaScript

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)