Skip to content

Commit

Permalink
Merge pull request #2839 from rohitdharavath/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
MichMich authored Apr 26, 2022
2 parents 439690b + 288a008 commit d730dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const Log = require("logger");
let config = process.env.config ? JSON.parse(process.env.config) : {};
// Module to control application life.
const app = electron.app;
// If ELECTRON_DISABLE_GPU is set electron is startet with --disable-gpu flag.
// If ELECTRON_DISABLE_GPU is set electron is started with --disable-gpu flag.
// See https://www.electronjs.org/docs/latest/tutorial/offscreen-rendering for more info.
if (process.env.ELECTRON_DISABLE_GPU !== undefined) {
app.disableHardwareAcceleration();
Expand Down

0 comments on commit d730dd0

Please sign in to comment.