ZplPrinter/main.js
2022-10-13 18:07:37 +02:00

19 lines
369 B
JavaScript

const { app, BrowserWindow } = require('electron')
const createWindow = () => {
const win = new BrowserWindow({
width: 800,
height: 600,
webPreferences: {
nodeIntegration: true,
contextIsolation: false,
}
})
win.loadFile('ZplPrinter/main.html')
}
app.whenReady().then(() => {
createWindow()
})