Skip to content

Commit

Permalink
fixed app menus issues
Browse files Browse the repository at this point in the history
  • Loading branch information
wuynng committed Jul 5, 2018
1 parent eb159da commit aa3f4c3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions src-electron/main-process/electron-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ if (shouldQuit) {

const log = logger.create('Main')

log.info('current application\'s version: ', Settings.appVersion)
log.info('system language is ', app.getLocale())

log.info(`Running in production mode: ${Settings.inProductionMode}`)
Expand Down
4 changes: 0 additions & 4 deletions src-electron/modules/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,10 +285,6 @@ class OzoneMenu {
appMenu.unshift({
label: global.i18n.t('appMenu.file'),
submenu: [
{
role: 'about',
label: global.i18n.t('appMenu.about') + ' ' + app.getName()
},
{
role: 'quit',
label: global.i18n.t('appMenu.quit') + ' ' + app.getName()
Expand Down

0 comments on commit aa3f4c3

Please sign in to comment.