mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
ELECTRON-874 (Change version numbering 1.53-3.4.0) (#522)
* ELECTRON-874 Change version numbering 1.53.0-3.4.0 (0) * ELECTRON-874 setAboutPanelOptions only if running in Mac
This commit is contained in:
committed by
Vishwas Shashidhar
parent
5d69857206
commit
e4b28f176d
@@ -9,6 +9,7 @@ const shellPath = require('shell-path');
|
||||
const urlParser = require('url');
|
||||
const nodePath = require('path');
|
||||
const compareSemVersions = require('./utils/compareSemVersions.js');
|
||||
const { version, clientVersion, buildNumber } = require('../package.json');
|
||||
|
||||
// Local Dependencies
|
||||
const {
|
||||
@@ -230,6 +231,8 @@ app.on('activate', function () {
|
||||
// because electron leaves registry traces upon uninstallation
|
||||
if (isMac) {
|
||||
app.setAsDefaultProtocolClient('symphony');
|
||||
// Sets application version info that will be displayed in about app panel
|
||||
app.setAboutPanelOptions({ applicationVersion: `${clientVersion}-${version}`, version: buildNumber });
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user