Skip to content

Commit

Permalink
[electron]: Fixed the window reloading issue.
Browse files Browse the repository at this point in the history
Refs:
 - electron/electron#22119,
 - electron/electron#18397, and
 - electron/electron#21287
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
  • Loading branch information
Akos Kitta authored and kittaakos committed Aug 17, 2020
1 parent 12eabf0 commit ed5398a
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -139,6 +139,9 @@ const { Container } = require('inversify');
const { resolve } = require('path');
const { app } = require('electron');
// Fix the window reloading issue, see: https://github.com/electron/electron/issues/22119
app.allowRendererProcessReuse = false;
const config = ${this.prettyStringify(this.pck.props.frontend.config)};
const isSingleInstance = ${this.pck.props.backend.config.singleInstance === true ? 'true' : 'false'};
Expand Down

0 comments on commit ed5398a

Please sign in to comment.