From d96a1b680556146595644afe334eae6861412e90 Mon Sep 17 00:00:00 2001 From: "Brian R. Bondy" Date: Tue, 2 Oct 2018 16:02:38 -0400 Subject: [PATCH] Use correct App ID for release channel Fix https://github.com/brave/brave-browser/issues/970 --- BUILD.gn | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/BUILD.gn b/BUILD.gn index a4c256226bb6..98464d52ddd2 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -389,10 +389,15 @@ if (is_mac) { info_plist_target = ":brave_app_plist" extra_substitutions = [ - "CHROMIUM_BUNDLE_ID=$chrome_mac_bundle_id.$brave_channel", "CHROMIUM_SHORT_NAME=$chrome_product_short_name", "CHROMIUM_CREATOR=$chrome_mac_creator_code", ] + # brave_channel is an empty string for release + if (brave_channel == "") { + extra_substitutions += ["CHROMIUM_BUNDLE_ID=$chrome_mac_bundle_id"] + } else { + extra_substitutions += ["CHROMIUM_BUNDLE_ID=$chrome_mac_bundle_id.$brave_channel"] + } sources = [ "//chrome/app/chrome_exe_main_mac.cc",