From 9361fd6c919d3196412e94cae04e0584c8624dbb Mon Sep 17 00:00:00 2001 From: Albert Zak Date: Thu, 11 Jul 2019 21:52:32 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=A9=E2=80=8D=F0=9F=91=A6=20Disable=20d?= =?UTF-8?q?efault=20menu=20bar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/electron/main/main.js | 4 +++- app/electron/package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/electron/main/main.js b/app/electron/main/main.js index 18e46b05d..2bbe6c018 100644 --- a/app/electron/main/main.js +++ b/app/electron/main/main.js @@ -4,7 +4,7 @@ module.paths.push(path.resolve('../node_modules')) module.paths.push(path.resolve(__dirname, '..', '..', '..', '..', 'resources', 'app', 'node_modules')) module.paths.push(path.resolve(__dirname, '..', '..', '..', '..', 'resources', 'app.asar', 'node_modules')) -const { app, ipcMain, crashReporter } = require('electron') +const { app, Menu, ipcMain, crashReporter } = require('electron') const { init } = require('@sentry/electron') const SENTRY_DSN_URL = 'https://6af65eb19a37410f968d4e602ce572d7@sentry.io/62218' @@ -29,6 +29,8 @@ const logger = require('./logger') logger.start() const start = () => { + Menu.setApplicationMenu(null) + app.on('ready', () => { const updater = require('./updater') const window = require('./window') diff --git a/app/electron/package.json b/app/electron/package.json index ded8a9623..ec6cee128 100644 --- a/app/electron/package.json +++ b/app/electron/package.json @@ -1,7 +1,7 @@ { "name": "rosalind", "productName": "Rosalind", - "version": "0.0.203", + "version": "0.0.204", "private": true, "description": "Rosalind", "author": {