Enable native tabbed window merging (macOS) (#55396)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55396

Changelog:
[General][Changed] - **React Native DevTools**: Enable native macOS window merging

Reviewed By: motiz88

Differential Revision: D92154327

fbshipit-source-id: 1592f459584afc511167c1e7bc91be59a3b5c249
This commit is contained in:
Alex Hunt authored and meta-codesync[bot] committed 2026-02-04 12:57:28 -08:00
1 parent 96c97e08b1
commit 34b3c108bc
2 files changed
+5

No files matched your search

@@ -68,6 +68,8 @@ function handleLaunchArgs(argv: string[]) {
},
// Icon for Linux
icon: path.join(__dirname, 'resources', 'icon.png'),
// Enable tabs for this window (macOS 10.12+)
tabbingIdentifier: 'main',
});
// Auto-hide the Windows/Linux menu bar
frontendWindow.setMenuBarVisibility(false);
@@ -20,6 +20,9 @@ const {app} = require('electron') as any;
app.setName(pkg.productName ?? pkg.name);
app.setVersion(pkg.version + '-' + buildInfo.revision);
// Enable automatic tab support (macOS 10.12+)
app.commandLine.appendSwitch('enable-features', 'TabStrip');
// Handle global command line arguments which don't require a window
// or the single instance lock to be held.
const {