зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1671650 - Check for Chrome in Progra~1 and Progra~2 on windows. r=perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D93836
This commit is contained in:
Родитель
4dd77eeb91
Коммит
4d455be744
|
@ -534,7 +534,10 @@ class Raptor(TestingMixin, MercurialScript, CodeCoverageMixin, AndroidMixin, Pyt
|
|||
if self.app == 'chrome':
|
||||
self.info("Chrome should be preinstalled.")
|
||||
if win in self.platform_name():
|
||||
self.chromium_dist_path = "C:\\Progra~2\\Google\\Chrome\\Application\\chrome.exe"
|
||||
base_path = "C:\\%s\\Google\\Chrome\\Application\\chrome.exe"
|
||||
self.chromium_dist_path = base_path % "Progra~1"
|
||||
if not os.path.exists(self.chromium_dist_path):
|
||||
self.chromium_dist_path = base_path % "Progra~2"
|
||||
elif linux in self.platform_name():
|
||||
self.chromium_dist_path = "/usr/bin/google-chrome"
|
||||
elif mac in self.platform_name():
|
||||
|
|
Загрузка…
Ссылка в новой задаче