removed MacOs check

pull/1/head
Liana Husikyan 5 years ago committed by Liana Husikyan
parent 8c307e4407
commit 7fd12ce1e6
  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