Commit 67e282d8 authored by Amaury Martiny's avatar Amaury Martiny
Browse files

Disable GPU on linux (fix #85)

parent 2a328480
......@@ -26,6 +26,12 @@ const { app, BrowserWindow, ipcMain, session } = electron;
let mainWindow;
const pino = Pino();
// Disable gpu acceleration on linux
// https://github.com/parity-js/fether/issues/85
if (!['darwin', 'win32'].includes(process.platform)) {
app.disableHardwareAcceleration();
}
function createWindow () {
pino.info(`Starting ${productName}...`);
mainWindow = new BrowserWindow({
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment