Skip to content

Commit

Permalink
fix bad macOS version check (for #35361)
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero committed Sep 29, 2017
1 parent 3736ccf commit e97a3c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vs/workbench/electron-browser/main.contribution.ts
Expand Up @@ -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.")
};

// macOS Sierra (10.12.x = darwin 16.x) and electron > 1.4.6 only
if (os.release().indexOf('16.') === 0 && process.versions.electron !== '1.4.6') {
// Minimum: macOS Sierra (10.12.x = darwin 16.x)
if (parseFloat(os.release()) >= 16) {
properties['window.nativeTabs'] = {
'type': 'boolean',
'default': false,
Expand Down

0 comments on commit e97a3c6

Please sign in to comment.