SDA-4266 - Log SDA version info (#1941)

Signed-off-by: Kiran Niranjan <kiran.niranjan@symphony.com>
This commit is contained in:
Kiran Niranjan 2023-08-17 08:55:16 +05:30 committed by GitHub
parent 729a828c5e
commit 83508c2f05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
import { app } from 'electron';
import * as os from 'os';
import { buildNumber, version } from '../../package.json';
import { logger } from '../common/logger';
export class AppStats {
@ -119,6 +120,7 @@ export class AppStats {
logger.info(`stats: Resources Path? ${process.resourcesPath}`);
logger.info(`stats: Chrome Version? ${process.versions.chrome}`);
logger.info(`stats: Electron Version? ${process.versions.electron}`);
logger.info(`stats: SDA Version? ${version} (${buildNumber})`);
}
}