Fix bug when fetcing app name for darwin menus
This commit is contained in:
parent
fb52faa840
commit
20820e64ba
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
if (process.platform == 'darwin') {
|
if (process.platform == 'darwin') {
|
||||||
var name = require('electron').remote.app.getName();
|
var name = app.getName();
|
||||||
template.unshift({
|
template.unshift({
|
||||||
label: name,
|
label: name,
|
||||||
submenu: [
|
submenu: [
|
||||||
|
|
Loading…
Reference in a new issue