Comparing version 1.0.12 to 1.0.13
@@ -28,5 +28,2 @@ /* This Source Code Form is subject to the terms of the Mozilla Public | ||
binaryPath = binaryPath || process.env.JPM_FIREFOX_BINARY || "firefox"; | ||
if (binaryPath === "firefoxdeveloperedition") { | ||
binaryPath = "deved"; | ||
} | ||
@@ -39,2 +36,6 @@ arch = /64/.test(arch) ? "(64)" : ""; | ||
if (binaryPath === "deved") { | ||
binaryPath = "firefoxdeveloperedition"; | ||
} | ||
var app = binaryPath.toLowerCase(); | ||
@@ -45,3 +46,3 @@ | ||
var channelNames = [ | ||
"firefox", "deved", "beta", "nightly", "aurora" | ||
"firefox", "firefoxdeveloperedition", "beta", "nightly", "aurora" | ||
]; | ||
@@ -119,6 +120,7 @@ | ||
"firefox on osx": "/Applications/Firefox.app/Contents/MacOS/firefox-bin", | ||
"beta on osx": "/Applications/FirefoxBeta.app/Contents/MacOS/firefox-bin", | ||
"deved on osx": "/Applications/FirefoxDeveloperEdition.app/Contents/MacOS/firefox-bin", | ||
// the name of the beta application bundle is the same as the stable one | ||
"beta on osx": "/Applications/Firefox.app/Contents/MacOS/firefox-bin", | ||
"firefoxdeveloperedition on osx": "/Applications/Firefox Developer Edition.app/Contents/MacOS/firefox-bin", | ||
"aurora on osx": "/Applications/FirefoxAurora.app/Contents/MacOS/firefox-bin", | ||
"nightly on osx": "/Applications/FirefoxNightly.app/Contents/MacOS/firefox-bin", | ||
"nightly on osx": "/Applications/Firefox Nightly.app/Contents/MacOS/firefox-bin", | ||
}; | ||
@@ -130,3 +132,3 @@ | ||
"aurora on linux": "firefox-aurora", | ||
"deved on linux": "firefox-developer-edition", | ||
"firefoxdeveloperedition on linux": "firefox-developer-edition", | ||
"nightly on linux": "firefox-nightly", | ||
@@ -136,3 +138,3 @@ "firefox on windows": "Mozilla Firefox", | ||
"beta on windows": "Mozilla Firefox", | ||
"deved on windows": "Firefox Developer Edition", | ||
"firefoxdeveloperedition on windows": "Firefox Developer Edition", | ||
"aurora on windows": "Aurora", | ||
@@ -139,0 +141,0 @@ "nightly on windows": "Nightly" |
{ | ||
"name": "fx-runner", | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"description": "A node cli to control Firefox", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -215,4 +215,4 @@ /* This Source Code Form is subject to the terms of the Mozilla Public | ||
[["deved", "linux", "x86"], "/usr/bin/firefox-developer-edition"], | ||
[["deved", "linux", "x86_64"], "/usr/bin/firefox-developer-edition"], | ||
[["firefoxdeveloperedition", "linux", "x86"], "/usr/bin/firefox-developer-edition"], | ||
[["firefoxdeveloperedition", "linux", "x86_64"], "/usr/bin/firefox-developer-edition"], | ||
@@ -238,16 +238,17 @@ [["nightly", "linux", "x86_64"], "/usr/bin/firefox-nightly"], | ||
[["beta", "darwin", "x86"], "/Applications/FirefoxBeta.app/Contents/MacOS/firefox-bin"], | ||
[["beta", "darwin", "x86_64"], "/Applications/FirefoxBeta.app/Contents/MacOS/firefox-bin"], | ||
[["beta", "darwin", "x86"], "/Applications/Firefox.app/Contents/MacOS/firefox-bin"], | ||
[["beta", "darwin", "x86_64"], "/Applications/Firefox.app/Contents/MacOS/firefox-bin"], | ||
[["deved", "darwin", "x86"], "/Applications/FirefoxDeveloperEdition.app/Contents/MacOS/firefox-bin"], | ||
[["deved", "darwin", "x86_64"], "/Applications/FirefoxDeveloperEdition.app/Contents/MacOS/firefox-bin"], | ||
[["firefoxdeveloperedition", "darwin", "x86"], "/Applications/FirefoxDeveloperEdition.app/Contents/MacOS/firefox-bin"], | ||
[["firefoxdeveloperedition", "darwin", "x86_64"], "/Applications/FirefoxDeveloperEdition.app/Contents/MacOS/firefox-bin"], | ||
[["firefoxdeveloperedition", "darwin", "x86"], "/Applications/Firefox Developer Edition.app/Contents/MacOS/firefox-bin"], | ||
[["firefoxdeveloperedition", "darwin", "x86_64"], "/Applications/Firefox Developer Edition.app/Contents/MacOS/firefox-bin"], | ||
[["deved", "darwin", "x86"], "/Applications/Firefox Developer Edition.app/Contents/MacOS/firefox-bin"], | ||
[["deved", "darwin", "x86_64"], "/Applications/Firefox Developer Edition.app/Contents/MacOS/firefox-bin"], | ||
[["aurora", "darwin", "x86"], "/Applications/FirefoxAurora.app/Contents/MacOS/firefox-bin"], | ||
[["aurora", "darwin", "x86_64"], "/Applications/FirefoxAurora.app/Contents/MacOS/firefox-bin"], | ||
[["nightly", "darwin", "x86"], "/Applications/FirefoxNightly.app/Contents/MacOS/firefox-bin"], | ||
[["nightly", "darwin", "x86_64"], "/Applications/FirefoxNightly.app/Contents/MacOS/firefox-bin"] | ||
].map(function(fixture) { | ||
[["nightly", "darwin", "x86"], "/Applications/Firefox Nightly.app/Contents/MacOS/firefox-bin"], | ||
[["nightly", "darwin", "x86_64"], "/Applications/Firefox Nightly.app/Contents/MacOS/firefox-bin"] | ||
].map(function (fixture) { | ||
var promise = binary.apply(binary, fixture[args]); | ||
@@ -263,3 +264,3 @@ return promise.then(function(actual) { | ||
var defaultNightly = "/Applications/FirefoxNightly.app/Contents/MacOS/firefox-bin"; | ||
var defaultNightly = "/Applications/Firefox Nightly.app/Contents/MacOS/firefox-bin"; | ||
@@ -266,0 +267,0 @@ function spawnSyncStub(stdout) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
48305
643