From 2fb1043fd8ea9f16f31c3dc5093b085fa7549e73 Mon Sep 17 00:00:00 2001 From: Takuya Sawada Date: Thu, 4 Aug 2022 15:26:49 +0900 Subject: [PATCH] disable devTools web preferences --- lib/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/index.js b/lib/index.js index e7316c5..fdf2126 100644 --- a/lib/index.js +++ b/lib/index.js @@ -88,6 +88,7 @@ function electronPrompt(options, parentWindow) { title: options_.title, icon: options_.icon || undefined, webPreferences: { + devTools: false, nodeIntegration: true, contextIsolation: false, },