mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-01-03 12:47:13 -06:00
SDA-1347 - Group multiple processes into single task bar icon (#779)
This commit is contained in:
parent
073450ab7f
commit
4317b0592a
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user