From 05265434eef7f73e05f7d0dd537e2a4c5cbd41f0 Mon Sep 17 00:00:00 2001 From: Jerry Fan Date: Thu, 3 Aug 2023 09:36:59 +0800 Subject: [PATCH] rollback electron version to 22 --- chat2db-client/src/main/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat2db-client/src/main/index.js b/chat2db-client/src/main/index.js index 1ed9fe5bc..ff82e78f4 100644 --- a/chat2db-client/src/main/index.js +++ b/chat2db-client/src/main/index.js @@ -47,7 +47,7 @@ function createWindow() { // const menu = Menu.buildFromTemplate(menuBar); // Menu.setApplicationMenu(menu); -app.commandLine.appendSwitch('disable-gpu'); +app.commandLine.appendSwitch('--disable-gpu-sandbox'); app.on('ready', () => { createWindow();