From 3416ba2802bca2d62ab173e829b82d1f822d1572 Mon Sep 17 00:00:00 2001
From: Jirat Ki <saakyz@gmail.com>
Date: Fri, 9 Dec 2016 19:48:17 +0700
Subject: [PATCH] Fix - openChrome won't open default browser (using Canary)
 (#1215)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

- Use “Chrome” instead of "Google Chrome", It  will try to use current active browser.
  otherwise, use default.
- If “Chrome”s aren’t running, will fallback to opn(url)
---
 packages/react-dev-utils/openChrome.applescript | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/react-dev-utils/openChrome.applescript b/packages/react-dev-utils/openChrome.applescript
index f5d79bb62..0f5602721 100644
--- a/packages/react-dev-utils/openChrome.applescript
+++ b/packages/react-dev-utils/openChrome.applescript
@@ -14,7 +14,7 @@ property targetWindow: null
 on run argv
   set theURL to item 1 of argv
 
-  tell application "Google Chrome"
+  tell application "Chrome"
 
     if (count every window) = 0 then
       make new window
@@ -58,7 +58,7 @@ end run
 -- if found, store tab, index, and window in properties
 -- (properties were declared on top of file)
 on lookupTabWithUrl(lookupUrl)
-  tell application "Google Chrome"
+  tell application "Chrome"
     -- Find a tab with the given url
     set found to false
     set theTabIndex to -1
-- 
GitLab