diff --git a/browser/api/lib/app.coffee b/browser/api/lib/app.coffee index 6f386f14c11..b76f8f39495 100644 --- a/browser/api/lib/app.coffee +++ b/browser/api/lib/app.coffee @@ -13,6 +13,9 @@ app.getHomeDir = -> app.getBrowserWindows = -> objectsRegistry.getAllWindows() +app.setApplicationMenu = (menu) -> + require('menu').setApplicationMenu menu + app.commandLine = appendSwitch: bindings.appendSwitch, appendArgument: bindings.appendArgument