From 09c1bb7046b9ac5e0d88a8568ff0b33407a29e41 Mon Sep 17 00:00:00 2001 From: ayhankuru Date: Fri, 5 Jan 2018 00:09:38 +0300 Subject: [PATCH] Fixed Linux gpu bug --- app.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app.js b/app.js index b02f9ef2..1f57802f 100644 --- a/app.js +++ b/app.js @@ -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();