mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 05:17:24 +02:00
Also call electron's setAppUserModelId()
This commit is contained in:
parent
ef4d09c5e2
commit
5e17ef5e21
1 changed files with 2 additions and 0 deletions
|
@ -235,6 +235,8 @@ const configPath = path.join(getApplicationDataDirectory(), 'config.json');
|
||||||
var userConfig = new Config();
|
var userConfig = new Config();
|
||||||
userConfig.load(configPath);
|
userConfig.load(configPath);
|
||||||
|
|
||||||
|
app.setAppUserModelId(APP_USER_MODEL_ID);
|
||||||
|
|
||||||
// print out uncaught exceptions in the console
|
// print out uncaught exceptions in the console
|
||||||
process.on('uncaughtException', function(err) {
|
process.on('uncaughtException', function(err) {
|
||||||
log.error(err);
|
log.error(err);
|
||||||
|
|
Loading…
Reference in a new issue