Commits on Source (2)
...@@ -34,6 +34,12 @@ const { URL } = url; ...@@ -34,6 +34,12 @@ const { URL } = url;
let mainWindow; let mainWindow;
// Disable gpu acceleration on linux
// https://github.com/parity-js/shell/issues/157
if (!['darwin', 'win32'].includes(process.platform)) {
app.disableHardwareAcceleration();
}
function runApp () { function runApp () {
doesParityExist() doesParityExist()
.catch(() => fetchParity(mainWindow)) // Install parity if not present .catch(() => fetchParity(mainWindow)) // Install parity if not present
......