Skip to content

Commit

Permalink
Update flags for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
floating committed Aug 26, 2020
1 parent 10ba8de commit 8cdfd93
Show file tree
Hide file tree
Showing 3 changed files with 252 additions and 265 deletions.
2 changes: 2 additions & 0 deletions main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ app.commandLine.appendSwitch('enable-gpu-rasterization', true)
app.commandLine.appendSwitch('force-gpu-rasterization', true)
app.commandLine.appendSwitch('ignore-gpu-blacklist', true)
app.commandLine.appendSwitch('enable-native-gpu-memory-buffers', true)
app.commandLine.appendSwitch('enable-transparent-visuals', true)
if (process.platform === 'linux') app.commandLine.appendSwitch('disable-gpu', true)

const log = require('electron-log')
const path = require('path')
Expand Down
Loading

0 comments on commit 8cdfd93

Please sign in to comment.