Also call electron's setAppUserModelId()

This commit is contained in:
Simon Walton 2018-05-30 14:25:05 -07:00
parent ef4d09c5e2
commit 5e17ef5e21

View file

@ -235,6 +235,8 @@ const configPath = path.join(getApplicationDataDirectory(), 'config.json');
var userConfig = new Config();
userConfig.load(configPath);
app.setAppUserModelId(APP_USER_MODEL_ID);
// print out uncaught exceptions in the console
process.on('uncaughtException', function(err) {
log.error(err);