Detect Cygwin as windows
This commit is contained in:
Родитель
8345547116
Коммит
bbf8aa342a
|
@ -76,6 +76,8 @@ class ChromeRevisionFinder(RevisionFinder):
|
|||
return "Mac"
|
||||
if platform.system() == "Windows":
|
||||
return "Win"
|
||||
if platform.system().startswith("CYGWIN"):
|
||||
return "Win"
|
||||
raise Exception("Unknown platform: " + platform.system())
|
||||
|
||||
def latest(self):
|
||||
|
@ -112,6 +114,8 @@ class MozillaRevisionFinder(RevisionFinder):
|
|||
return "macosx64"
|
||||
if platform.system() == "Windows":
|
||||
return "win"+arch
|
||||
if platform.system().startswith("CYGWIN"):
|
||||
return "win"+arch
|
||||
raise Exception("Unknown platform: " + platform.system())
|
||||
|
||||
def _subdir(self):
|
||||
|
|
Загрузка…
Ссылка в новой задаче