Skip to content
This repository has been archived by the owner on Aug 20, 2018. It is now read-only.

Commit

Permalink
bug 590666 - Firefox path detection fail on Window7 64bit in cfx
Browse files Browse the repository at this point in the history
  • Loading branch information
ochameau authored and harthur committed Sep 10, 2010
1 parent ac01eb5 commit f321707
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mozrunner/mozrunner/__init__.py
Expand Up @@ -380,6 +380,9 @@ def find_binary(self):

if binary is None:
for bin in [(program_files, 'Mozilla Firefox', 'firefox.exe'),
(os.environ.get("ProgramFiles(x86)"),'Mozilla Firefox', 'firefox.exe'),
(program_files,'Minefield', 'firefox.exe'),
(os.environ.get("ProgramFiles(x86)"),'Minefield', 'firefox.exe')
]:
path = os.path.join(*bin)
if os.path.isfile(path):
Expand Down

0 comments on commit f321707

Please sign in to comment.