Fix bug when fetcing app name for darwin menus
This commit is contained in:
parent
fb52faa840
commit
20820e64ba
|
@ -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 New Issue