Skip to content

Commit

Permalink
remove old menu
Browse files Browse the repository at this point in the history
  • Loading branch information
fat16 committed Sep 2, 2015
1 parent 28ef752 commit 2b61fdb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "electron-accelerator",
"version": "0.0.2",
"version": "0.0.3",
"description": "Build, Debug, Package and Release for electron apps. A electron accelerator template",
"main": "index.js",
"bin": {
Expand Down
7 changes: 1 addition & 6 deletions template/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,12 @@ var config = require('../config.json');
// Report crashes to our server.
require('crash-reporter').start();

app.applicationName = config.applicationName;

// Keep a global reference of the window object, if you don't, the window will
// be closed automatically when the javascript object is GCed.
var mainWindow = null;


if (process.platform === 'win32') {

var installer = require('./squirrel-installer');
var SquirrelUpdater = require('./squirrel-updater');
squirrelCommand = process.argv[1];
Expand All @@ -37,8 +34,6 @@ app.on('ready', function() {
// when you should delete the corresponding element.
mainWindow = null;
});

applicationMenus.setup();
});

app.on('window-all-closed', function() {
Expand Down

0 comments on commit 2b61fdb

Please sign in to comment.