Permalink
Browse files

Merge pull request #17 from saich/local-firefoxaurora

Added Firefox Aurora to local-supported browsers (Windows & Mac). Fixes #16
  • Loading branch information...
2 parents f8e1208 + e5d9796 commit ff55810a57c33e48abf314753443cacd617b3b6e @ryanseddon committed Apr 17, 2013
Showing with 8 additions and 3 deletions.
  1. +1 −1 README.md
  2. +7 −2 lib/localbrowsers.js
View
@@ -68,7 +68,7 @@ This will open the installed versions of Firefox, Chrome, Safari and Phantomjs.
The `local` command looks for the following browsers:
-* Firefox, Firefox Nightly
+* Firefox, Firefox Aurora, Firefox Nightly
* Chrome, Chrome Canary
* Opera, Opera Next
* Safari
View
@@ -18,8 +18,13 @@ function LocalBrowsers(config, port) {
darwin: cmdPrefix + ' Firefox --args',
linux: cmdPrefixLinux + ' firefox '
},
+ firefoxaurora: {
+ name: "Firefox Aurora",
+ win32: '"' + process.env.ProgramFiles + '\\Aurora\\firefox.exe' + '"',
+ darwin: cmdPrefix + ' FirefoxAurora --args'
+ },
firefoxnightly: {
- name: "Nightly",
+ name: "Firefox Nightly",
win32: '"' + process.env.ProgramFiles + '\\Firefox Nightly\\firefox.exe' + '"',
darwin: cmdPrefix + ' Nightly --args'
},
@@ -90,7 +95,7 @@ function LocalBrowsers(config, port) {
// Some browsers are platform specific so exit out if not available
if(data[browser][process.platform]) {
if(browser.indexOf("firefox") !== -1) {
- // Handles firefox and firefox nightly
+ // Handles firefox, firefox aurora and firefox nightly
cleanLaunchFirefox(browser, data);
} else if(browser.indexOf("chrome") !== -1) {
// Handles chrome and chrome canary

0 comments on commit ff55810

Please sign in to comment.