diff --git a/lib/browser/api/app.js b/lib/browser/api/app.js index 2b57233fe685..d538e66e7e89 100644 --- a/lib/browser/api/app.js +++ b/lib/browser/api/app.js @@ -12,12 +12,12 @@ Object.setPrototypeOf(app, EventEmitter.prototype) let appPath = null Object.assign(app, { - getAppPath() { return appPath }, - setAppPath(path) { appPath = path }, - setApplicationMenu(menu) { + getAppPath () { return appPath }, + setAppPath (path) { appPath = path }, + setApplicationMenu (menu) { return Menu.setApplicationMenu(menu) }, - getApplicationMenu() { + getApplicationMenu () { return Menu.getApplicationMenu() }, commandLine: {