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

This commit is contained in:
litruv committed 2025-11-12 07:39:03 +11:00
1 parent c6df01061a
commit 140cc18a31
1 file changed
+5
+5
View File
@@ -1,6 +1,11 @@
import { app } from 'electron';
import { MainApp } from './MainApp';
// Disable GPU acceleration on Linux to avoid graphics driver issues
if (process.platform === 'linux') {
app.disableHardwareAcceleration();
}
const mainApp = new MainApp();
app.whenReady()