mirror of
https://github.com/litruv/AudioSort.git
synced 2026-07-24 02:36:01 +10:00
fix: disable GPU acceleration on Linux to avoid graphics driver issues
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user