Fix brightray::GetApplicationName(), ..Version() on Linux (#11980)
* add brightray API to override app version * in atom browser, use brightray app version API * on Linux, have GetApplicationVersion() use brightray version API * on Linux, implement brightray::GetApplicationName() * fix typo in brightray API * make browser.GetName() logic follow GetVersion() logic * improve variable name in OverrideApplicationVersion declaration * fix typo in brightray impl
This commit is contained in:
parent
dc62e51ba4
commit
8d086a43cb
6 changed files with 84 additions and 24 deletions
|
@ -47,7 +47,7 @@ PCWSTR GetRawAppUserModelID() {
|
|||
if (SUCCEEDED(GetCurrentProcessExplicitAppUserModelID(¤t_app_id))) {
|
||||
g_app_user_model_id = current_app_id;
|
||||
} else {
|
||||
std::string name = GetOverridenApplicationName();
|
||||
std::string name = GetOverriddenApplicationName();
|
||||
if (name.empty()) {
|
||||
name = GetApplicationName();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue