diff --git a/src/main.ts b/src/main.ts index bb04cab..fb814c9 100644 --- a/src/main.ts +++ b/src/main.ts @@ -33,7 +33,7 @@ function createWindow() { mainWindow = new BrowserWindow({ width: 800, height: 600, - webPreferences: { nodeIntegration: false } + webPreferences: { nodeIntegration: true } }); mainWindow.loadURL(