From ff1f3376998bcf58a396f43a92f4e5395f69876c Mon Sep 17 00:00:00 2001 From: Vendicated Date: Fri, 17 Feb 2023 15:37:38 +0100 Subject: [PATCH] Fix QuickCSS on electron 20+ --- src/ipcMain/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ipcMain/index.ts b/src/ipcMain/index.ts index bae6793..6fb31d1 100644 --- a/src/ipcMain/index.ts +++ b/src/ipcMain/index.ts @@ -91,7 +91,8 @@ ipcMain.handle(IpcEvents.OPEN_MONACO_EDITOR, async () => { webPreferences: { preload: join(__dirname, "preload.js"), contextIsolation: true, - nodeIntegration: false + nodeIntegration: false, + sandbox: false } }); await win.loadURL(`data:text/html;base64,${monacoHtml}`);