Skip to content
GitLab
Explore
Sign in
Parity-JS
shell
Compare revisions
f10bac59cd3193f92252543f5bf3beafedaec287 to abde2576c602a35b8c52e266591e822fd2d71f19
Commits on Source (2)
Disable GPU on linux (fix #157) (#158)
· 400c0718
Axel Chalon
authored
Jul 10, 2018
400c0718
Merge branch 'master' into dapp-file
· abde2576
Axel Chalon
authored
Jul 10, 2018
abde2576
Hide whitespace changes
Inline
Side-by-side
electron/index.js
View file @
abde2576
...
...
@@ -34,6 +34,12 @@ const { URL } = url;
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
()
{
doesParityExist
()
.
catch
(()
=>
fetchParity
(
mainWindow
))
// Install parity if not present
...
...