Skip to content

Commit 48cd51f

Browse files
authored
Merge pull request #128 from c0b41/linux-gpu
Linux Gpu Bug
2 parents 4f76145 + e10f37c commit 48cd51f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app.js

+6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ const isDev = require('electron-is-dev');
1111
// Electron Libs
1212
const { app, BrowserWindow, ipcMain } = require('electron');
1313

14+
// Disabled for the linux gpu
15+
16+
if(process.platform == 'linux') {
17+
app.disableHardwareAcceleration();
18+
}
19+
1420
// 3rd Party Libs
1521
const appConfig = require('electron-settings');
1622
require('dotenv').config();

0 commit comments

Comments
 (0)