Skip to content

Commit

Permalink
Disable GPU Sandbox (see issue #603)
Browse files Browse the repository at this point in the history
  • Loading branch information
aumouvantsillage committed Feb 23, 2022
1 parent a08803b commit 8c32c22
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/js/index-electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ function createWindow () {
});
}

// Workaround for launching error "GPU process isn't usable. Goodbye."
// See issue https://github.com/sozi-projects/Sozi/issues/603
app.commandLine.appendSwitch("disable-gpu-sandbox");

// Prevent Electron from altering colors in the SVG.
if (process.env.SOZI_DISABLE_COLOR_CORRECT_RENDERING) {
app.commandLine.appendSwitch("disable-color-correct-rendering");
Expand Down

0 comments on commit 8c32c22

Please sign in to comment.