From c9d8b347ac7abaa3459defc2859e0a3afaeda810 Mon Sep 17 00:00:00 2001 From: Yousaf Nabi Date: Fri, 7 Feb 2020 20:03:19 +0000 Subject: [PATCH] Correct detection logic for Edge & Firefox Nightly (#6364) Correct detection logic for Edge & Firefox Nightly on MacOSX --- packages/launcher/lib/darwin/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/launcher/lib/darwin/index.ts b/packages/launcher/lib/darwin/index.ts index 3e26c9df48e9..13dc4e925af8 100644 --- a/packages/launcher/lib/darwin/index.ts +++ b/packages/launcher/lib/darwin/index.ts @@ -39,23 +39,28 @@ const detectFirefoxNightly = partial(findApp, [ 'Firefox Nightly.app', 'Contents/MacOS/firefox-bin', 'org.mozilla.nightly', + 'CFBundleShortVersionString', ]) const detectEdgeCanary = partial(findApp, [ + 'Microsoft Edge Canary.app', 'Contents/MacOS/Microsoft Edge Canary', 'com.microsoft.Edge.Canary', 'CFBundleShortVersionString', ]) const detectEdgeBeta = partial(findApp, [ + 'Microsoft Edge Beta.app', 'Contents/MacOS/Microsoft Edge Beta', 'com.microsoft.Edge.Beta', 'CFBundleShortVersionString', ]) const detectEdgeDev = partial(findApp, [ + 'Microsoft Edge Dev.app', 'Contents/MacOS/Microsoft Edge Dev', 'com.microsoft.Edge.Dev', 'CFBundleShortVersionString', ]) const detectEdge = partial(findApp, [ + 'Microsoft Edge.app', 'Contents/MacOS/Microsoft Edge', 'com.microsoft.Edge', 'CFBundleShortVersionString',