Fix #35361: fix native tabs on macOS 10.13 (#52775)
* Fix #35361: fix native tabs on macOS 10.13 macOS 10.13 mistakenly enables a compatibility option on VS Code and VS Code Insiders because their bundle IDs begin with "com.microsoft.". This breaks native tabs. Explicitly disable the compatibility patch using NSUserDefaults. Note that Code-OSS is not affected by the bug, since its bundle ID is "com.visualstudio.code.oss". To test this behaviour, change darwinBundleIdentifier in product.json. * set NSUseImprovedLayoutPass only when window.nativeTabs: true
Showing
想要评论请 注册 或 登录