aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2023-02-17 15:37:38 +0100
committerVendicated <vendicated@riseup.net>2023-02-17 15:37:38 +0100
commitff1f3376998bcf58a396f43a92f4e5395f69876c (patch)
tree42ceb50fea645e73a227b20e847d4c12b6e1de12 /src
parent3ca87848e575d19c93216c687a3ef61928ac4a9f (diff)
downloadVencord-ff1f3376998bcf58a396f43a92f4e5395f69876c.tar.gz
Vencord-ff1f3376998bcf58a396f43a92f4e5395f69876c.tar.bz2
Vencord-ff1f3376998bcf58a396f43a92f4e5395f69876c.zip
Fix QuickCSS on electron 20+
Diffstat (limited to 'src')
-rw-r--r--src/ipcMain/index.ts3
1 files changed, 2 insertions, 1 deletions
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}`);