mirror of
https://github.com/electron/electron.git
synced 2026-01-23 14:28:17 -05:00
@@ -33,6 +33,9 @@ for (var i in argv) {
|
||||
|
||||
// Create default menu.
|
||||
app.once('ready', function() {
|
||||
if (Menu.getApplicationMenu())
|
||||
return;
|
||||
|
||||
var template;
|
||||
if (process.platform == 'darwin') {
|
||||
template = [
|
||||
|
||||
Reference in New Issue
Block a user