Skip to content

Commit 4d3f551

Browse files
authored
Merge pull request #553 from brave/apple-app-id
Use correct App ID for release channel
2 parents dc2f9fb + d96a1b6 commit 4d3f551

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

BUILD.gn

+6-1
Original file line numberDiff line numberDiff line change
@@ -389,10 +389,15 @@ if (is_mac) {
389389
info_plist_target = ":brave_app_plist"
390390

391391
extra_substitutions = [
392-
"CHROMIUM_BUNDLE_ID=$chrome_mac_bundle_id.$brave_channel",
393392
"CHROMIUM_SHORT_NAME=$chrome_product_short_name",
394393
"CHROMIUM_CREATOR=$chrome_mac_creator_code",
395394
]
395+
# brave_channel is an empty string for release
396+
if (brave_channel == "") {
397+
extra_substitutions += ["CHROMIUM_BUNDLE_ID=$chrome_mac_bundle_id"]
398+
} else {
399+
extra_substitutions += ["CHROMIUM_BUNDLE_ID=$chrome_mac_bundle_id.$brave_channel"]
400+
}
396401

397402
sources = [
398403
"//chrome/app/chrome_exe_main_mac.cc",

0 commit comments

Comments
 (0)