提交 e97a3c62 编写于 作者: B Benjamin Pasero

fix bad macOS version check (for #35361)

上级 3736ccfe
...@@ -386,8 +386,8 @@ if (isMacintosh) { ...@@ -386,8 +386,8 @@ if (isMacintosh) {
'description': nls.localize('titleBarStyle', "Adjust the appearance of the window title bar. Changes require a full restart to apply.") 'description': nls.localize('titleBarStyle', "Adjust the appearance of the window title bar. Changes require a full restart to apply.")
}; };
// macOS Sierra (10.12.x = darwin 16.x) and electron > 1.4.6 only // Minimum: macOS Sierra (10.12.x = darwin 16.x)
if (os.release().indexOf('16.') === 0 && process.versions.electron !== '1.4.6') { if (parseFloat(os.release()) >= 16) {
properties['window.nativeTabs'] = { properties['window.nativeTabs'] = {
'type': 'boolean', 'type': 'boolean',
'default': false, 'default': false,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册