Skip to content

Commit 39c96d9

Browse files
committed
feat:add disable-gpu ,try to fix crash on some win11
1 parent f7e5851 commit 39c96d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

chat2db-client/src/main/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function createWindow() {
4747
// const menu = Menu.buildFromTemplate(menuBar);
4848
// Menu.setApplicationMenu(menu);
4949

50-
app.commandLine.appendSwitch('disable-gpu');
50+
app.commandLine.appendSwitch('--disable-gpu-sandbox');
5151

5252
app.on('ready', () => {
5353
createWindow();

0 commit comments

Comments
 (0)