Skip to content

Commit

Permalink
Fixed Linux gpu bug
Browse files Browse the repository at this point in the history
  • Loading branch information
c0b41 committed Jan 4, 2018
1 parent b270a3b commit 09c1bb7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ const isDev = require('electron-is-dev');
// Electron Libs
const { app, BrowserWindow, ipcMain } = require('electron');

// Disabled for the linux gpu

if(process.platform == 'linux') {
app.disableHardwareAcceleration();
}

// 3rd Party Libs
const appConfig = require('electron-settings');
require('dotenv').config();
Expand Down

0 comments on commit 09c1bb7

Please sign in to comment.