Fix bug when fetcing app name for darwin menus

This commit is contained in:
Magnus Hauge Bakke 2016-03-30 19:40:18 +02:00
parent fb52faa840
commit 20820e64ba

View file

@ -114,7 +114,7 @@
];
if (process.platform == 'darwin') {
var name = require('electron').remote.app.getName();
var name = app.getName();
template.unshift({
label: name,
submenu: [