Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upMacOS: Correct name in Launch Services #3759
Comments
|
The script assumes that the browser's name is the last component of the browser's bundle identifier (CFBundleIdentifier in the app's Info.plist file): NSString* app_name_from_bundle_id(NSString *app_bundle_id) {
return [[app_bundle_id componentsSeparatedByString:@"."] lastObject];
}Brave's bundle identifier is The bundle identifier is set here: https://github.com/brave/brave-core/blob/7c13b83f5aecc7628c8fce7e81cbdadbd06a88fa/app/theme/brave/BRANDING#L8
It was changed in 1b2b1b6 with the following note:
|
Description
Hey guys,
I'm using defaultbrowser script to change my default browser (via Alfred Workflow) and I noticed that when listing available browsers (it is taking the info from Launch Services API) the brave browser is listed as "browser", which is not ideal. Would be great if you could update that to "brave"🙂
Steps to Reproduce
defaultbrowserscriptActual result:
Expected result:
Reproduces how often:
Easily reproduced
Brave version (brave://version info)
0.61.51 Chromium: 73.0.3683.75 (Official Build) (64-bit)