Skip to content

Commit 9d3bcb4

Browse files
motiz88facebook-github-bot
authored andcommitted
Auto-hide main menu on Windows/Linux (#53511)
Summary: Pull Request resolved: #53511 Changelog: [Internal] TSIA Reviewed By: huntie Differential Revision: D81237715 fbshipit-source-id: 79dac7424e925539ba39706710c743c22d094976
1 parent 5e80d5c commit 9d3bcb4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/debugger-shell/src/electron/MainInstanceEntryPoint.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ function handleLaunchArgs(argv: string[]) {
6464
// Icon for Linux
6565
icon: path.join(__dirname, 'resources', 'icon.png'),
6666
});
67+
// Auto-hide the Windows/Linux menu bar
68+
frontendWindow.setMenuBarVisibility(false);
6769
}
6870

6971
// Open links in the default browser instead of in new Electron windows.

0 commit comments

Comments
 (0)