Fix QuickCSS on electron 20+

This commit is contained in:
Vendicated 2023-02-17 15:37:38 +01:00
parent 3ca87848e5
commit ff1f337699
No known key found for this signature in database
GPG Key ID: A1DC0CFB5615D905

View File

@ -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}`);