From 4762b67f3ade6654e445c333e831fdb1071a2172 Mon Sep 17 00:00:00 2001 From: Mitchell Hentges Date: Mon, 29 Feb 2016 18:21:44 +0100 Subject: [PATCH] Add firefox-developer to darwin support list, fixes #8 --- lib/darwin/index.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/darwin/index.js b/lib/darwin/index.js index 3c024c2..2b9252d 100644 --- a/lib/darwin/index.js +++ b/lib/darwin/index.js @@ -7,9 +7,10 @@ function browser(id, versionKey) { }; } -exports.safari = browser('com.apple.Safari', 'CFBundleShortVersionString'); -exports.firefox = browser('org.mozilla.firefox', 'CFBundleShortVersionString'); exports.chrome = exports[ 'google-chrome' ] = browser('com.google.Chrome', 'KSVersion'); -exports.chromium = browser('org.chromium.Chromium', 'CFBundleShortVersionString'); exports.canary = exports[ 'chrome-canary' ] = exports[ 'google-chrome-canary' ] = browser('com.google.Chrome.canary', 'KSVersion'); +exports.chromium = browser('org.chromium.Chromium', 'CFBundleShortVersionString'); +exports.firefox = browser('org.mozilla.firefox', 'CFBundleShortVersionString'); +exports['firefox-developer'] = browser('org.mozilla.firefoxdeveloperedition', 'CFBundleShortVersionString'); +exports.safari = browser('com.apple.Safari', 'CFBundleShortVersionString'); exports.opera = browser('com.operasoftware.Opera', 'CFBundleVersion');