fix: disable GPU acceleration on Linux to avoid graphics driver issues

This commit is contained in:
2025-11-12 07:39:03 +11:00
parent c6df01061a
commit 140cc18a31

View File

@@ -1,6 +1,11 @@
import { app } from 'electron'; import { app } from 'electron';
import { MainApp } from './MainApp'; import { MainApp } from './MainApp';
// Disable GPU acceleration on Linux to avoid graphics driver issues
if (process.platform === 'linux') {
app.disableHardwareAcceleration();
}
const mainApp = new MainApp(); const mainApp = new MainApp();
app.whenReady() app.whenReady()