mirror of
https://github.com/electron/electron.git
synced 2026-01-23 06:18:17 -05:00
Don't add the "Enter Full Screen" menu item automatically
This commit is contained in:
@@ -21,6 +21,9 @@
|
||||
}
|
||||
|
||||
- (void)applicationWillFinishLaunching:(NSNotification*)notify {
|
||||
// Don't add the "Enter Full Screen" menu item automatically.
|
||||
[[NSUserDefaults standardUserDefaults] setBool:NO forKey:@"NSFullScreenMenuItemEverywhere"];
|
||||
|
||||
atom::Browser::Get()->WillFinishLaunching();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user