Skip to content

Commit

Permalink
Merge pull request #441 from draganjovanovic1/master
Browse files Browse the repository at this point in the history
Check 64-bit Firefox path on Windows before 32-bit path fallback
  • Loading branch information
lefthandedgoat authored May 25, 2018
2 parents 7b6c2bc + 7b9bae4 commit 273fe1c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/canopy/configuration.fs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ let firefoxByOSType =
if System.IO.File.Exists(@"/Applications/Firefox.app/Contents/MacOS/firefox-bin")
then @"/Applications/Firefox.app/Contents/MacOS/firefox-bin" //osx
else @"/usr/lib/firefox-2.0" //linux, unsure of correct path
| _ -> @"C:\Program Files (x86)\Mozilla Firefox\firefox.exe"
| _ ->
if System.IO.File.Exists(@"C:\Program Files\Mozilla Firefox\firefox.exe")
then @"C:\Program Files\Mozilla Firefox\firefox.exe" // 64-bit version
else @"C:\Program Files (x86)\Mozilla Firefox\firefox.exe"

//runner related
(* documented/configuration *)
Expand Down

0 comments on commit 273fe1c

Please sign in to comment.