Skip to content

Commit

Permalink
fix: app cannot opened for the latest Electron
Browse files Browse the repository at this point in the history
  • Loading branch information
sin authored and luin committed Apr 28, 2017
1 parent 3a56e06 commit 796538a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions server/menu.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
'use strict';

const app = require('app');
const electron = require('electron');
const app = electron.app;
const windowManager = require('./windowManager');
const Menu = require('menu');
const Menu = electron.Menu;

const menuTemplate = [{
label: 'File',
Expand Down

0 comments on commit 796538a

Please sign in to comment.