From c94152217e788580a259d00a55e27a5fd7fa680d Mon Sep 17 00:00:00 2001 From: ariasuni Date: Thu, 9 Apr 2020 23:13:05 +0200 Subject: [PATCH] Add firefoxdeveloperedition alias on Linux --- lib/utils.js | 1 + test/run/test.utils.js | 3 +++ 2 files changed, 4 insertions(+) diff --git a/lib/utils.js b/lib/utils.js index f34a146..4735804 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -120,6 +120,7 @@ normalizeBinary.appNames = { "firefox on linux": "firefox", "beta on linux": "firefox-beta", "aurora on linux": "firefox-aurora", + "firefoxdeveloperedition on linux": "firefox-developer-edition", "nightly on linux": "firefox-nightly", "firefox on windows": "Mozilla Firefox", // the default path in the beta installer is the same as the stable one diff --git a/test/run/test.utils.js b/test/run/test.utils.js index 1565192..6cfe427 100644 --- a/test/run/test.utils.js +++ b/test/run/test.utils.js @@ -201,6 +201,9 @@ describe("lib/utils", function () { [["aurora", "linux", "x86"], "/usr/bin/firefox-aurora"], [["aurora", "linux", "x86_64"], "/usr/bin/firefox-aurora"], + [["firefoxdeveloperedition", "linux", "x86"], "/usr/bin/firefox-developer-edition"], + [["firefoxdeveloperedition", "linux", "x86_64"], "/usr/bin/firefox-developer-edition"], + [["nightly", "linux", "x86_64"], "/usr/bin/firefox-nightly"], [["nightly", "linux", "x86_64"], "/usr/bin/firefox-nightly"], ].map(function(fixture) {