removed MacOs check

pull/5370/head
Liana Husikyan 5 years ago committed by Liana Husikyan
parent ba0fc0e0c7
commit 674ab9f6d6
  1. 8
      src/app/tabs/compileTab/compilerContainer.js

@ -411,9 +411,11 @@ class CompilerContainer {
_retrieveOS () {
let osName = 'Unknown OS'
if (navigator.platform.indexOf('Win') !== -1) osName = 'Windows'
if (navigator.platform.indexOf('Mac') !== -1) osName = 'MacOS'
if (navigator.platform.indexOf('Linux') !== -1) osName = 'Linux'
if (navigator.platform.indexOf('Win') !== -1) {
osName = 'Windows'
} else if (navigator.platform.indexOf('Linux') !== -1) {
osName = 'Linux'
}
return osName
}

Loading…
Cancel
Save