From 0e0ca76947a01a3223d80782a0b537c08bf61628 Mon Sep 17 00:00:00 2001 From: Richard Park Date: Mon, 13 May 2019 02:18:04 +0900 Subject: [PATCH] support of node is added --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(