From 93036ba0861bbde3fe2cd772dd4ab804de7fa429 Mon Sep 17 00:00:00 2001 From: Vishwas Shashidhar Date: Tue, 13 Nov 2018 15:31:40 +0530 Subject: [PATCH] bump up version number and update electron dependency --- js/aboutApp/index.js | 5 +++++ package.json | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/js/aboutApp/index.js b/js/aboutApp/index.js index 7162e240..afbe9ad8 100644 --- a/js/aboutApp/index.js +++ b/js/aboutApp/index.js @@ -9,6 +9,7 @@ const logLevels = require('../enums/logLevels.js'); const { version, clientVersion, buildNumber } = require('../../package.json'); const { initCrashReporterMain, initCrashReporterRenderer } = require('../crashReporter.js'); const i18n = require('../translation/i18n'); +const { isMac } = require('../utils/misc'); let aboutWindow; @@ -88,6 +89,10 @@ function openAboutWindow(windowName) { initCrashReporterMain({ process: 'about app window' }); initCrashReporterRenderer(aboutWindow, { process: 'render | about app window' }); aboutWindow.webContents.send('versionInfo', { version, clientVersion, buildNumber }); + if (!isMac) { + // prevents from displaying menu items when "alt" key is pressed + aboutWindow.setMenu(null); + } }); aboutWindow.webContents.on('crashed', function () { diff --git a/package.json b/package.json index 062aaf98..43397e58 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "Symphony", "productName": "Symphony", - "version": "3.4.0", + "version": "3.5.0", "clientVersion": "1.53", "buildNumber": "0", "description": "Symphony desktop app (Foundation ODP)", @@ -86,7 +86,7 @@ "browserify": "16.2.3", "chromedriver": "2.42.0", "cross-env": "5.2.0", - "electron": "3.0.5", + "electron": "3.0.9", "electron-builder": "20.28.4", "electron-builder-squirrel-windows": "12.3.0", "electron-chromedriver": "3.0.0-beta.1",