SDA-1347 - Group multiple processes into single task bar icon (#779)

This commit is contained in:
Kiran Niranjan 2019-09-09 10:57:43 +05:30 committed by Vishwas Shashidhar
parent 073450ab7f
commit 4317b0592a

View File

@ -10,6 +10,10 @@ import { appStats } from './stats';
const userDataPathArg: string | null = getCommandLineArgs(process.argv, '--userDataPath=', false);
const userDataPath = userDataPathArg && userDataPathArg.substring(userDataPathArg.indexOf('=') + 1);
// need to set this explicitly if using Squirrel
// https://www.electron.build/configuration/configuration#Configuration-squirrelWindows
app.setAppUserModelId('com.symphony.electron-desktop');
// Set user data path before app ready event
if (isDevEnv) {
const devDataPath = path.join(app.getPath('appData'), 'Symphony-dev');