mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-22 08:57:00 -06:00
SDA-4266 - Log SDA version info (#1941)
Signed-off-by: Kiran Niranjan <kiran.niranjan@symphony.com>
This commit is contained in:
parent
729a828c5e
commit
83508c2f05
@ -1,5 +1,6 @@
|
|||||||
import { app } from 'electron';
|
import { app } from 'electron';
|
||||||
import * as os from 'os';
|
import * as os from 'os';
|
||||||
|
import { buildNumber, version } from '../../package.json';
|
||||||
import { logger } from '../common/logger';
|
import { logger } from '../common/logger';
|
||||||
|
|
||||||
export class AppStats {
|
export class AppStats {
|
||||||
@ -119,6 +120,7 @@ export class AppStats {
|
|||||||
logger.info(`stats: Resources Path? ${process.resourcesPath}`);
|
logger.info(`stats: Resources Path? ${process.resourcesPath}`);
|
||||||
logger.info(`stats: Chrome Version? ${process.versions.chrome}`);
|
logger.info(`stats: Chrome Version? ${process.versions.chrome}`);
|
||||||
logger.info(`stats: Electron Version? ${process.versions.electron}`);
|
logger.info(`stats: Electron Version? ${process.versions.electron}`);
|
||||||
|
logger.info(`stats: SDA Version? ${version} (${buildNumber})`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user