From 67f94334c2c5ba755671804c8a19e1f7268f52d9 Mon Sep 17 00:00:00 2001 From: Vincent Date: Fri, 20 Mar 2020 10:25:15 +1100 Subject: [PATCH 1/2] hardcoded --- main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 06ffcffd1..43bcc7e89 100644 --- a/main.js +++ b/main.js @@ -27,7 +27,8 @@ const { shell, } = electron; -const appUserModelId = packageJson.build.appId; +//const appUserModelId = packageJson.build.appId; +const appUserModelId = 'com.loki-project.messenger-desktop'; console.log('Set Windows Application User Model ID (AUMID)', { appUserModelId, }); From 458254d6b178522c830c7f749dfefe46ccefec5d Mon Sep 17 00:00:00 2001 From: Vince Date: Fri, 20 Mar 2020 10:28:59 +1100 Subject: [PATCH 2/2] Update main.js --- main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 43bcc7e89..e0a54cf45 100644 --- a/main.js +++ b/main.js @@ -27,7 +27,8 @@ const { shell, } = electron; -//const appUserModelId = packageJson.build.appId; +// FIXME Hardcoding appId to prevent build failrues on release. +// const appUserModelId = packageJson.build.appId; const appUserModelId = 'com.loki-project.messenger-desktop'; console.log('Set Windows Application User Model ID (AUMID)', { appUserModelId,