Skip to content

Commit 8c32c22

Browse files
Disable GPU Sandbox (see issue #603)
1 parent a08803b commit 8c32c22

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/js/index-electron.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ function createWindow () {
4040
});
4141
}
4242

43+
// Workaround for launching error "GPU process isn't usable. Goodbye."
44+
// See issue https://github.com/sozi-projects/Sozi/issues/603
45+
app.commandLine.appendSwitch("disable-gpu-sandbox");
46+
4347
// Prevent Electron from altering colors in the SVG.
4448
if (process.env.SOZI_DISABLE_COLOR_CORRECT_RENDERING) {
4549
app.commandLine.appendSwitch("disable-color-correct-rendering");

0 commit comments

Comments
 (0)