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
|
@ -10,7 +10,10 @@
|
|||
namespace brightray {
|
||||
|
||||
void OverrideApplicationName(const std::string& name);
|
||||
std::string GetOverridenApplicationName();
|
||||
std::string GetOverriddenApplicationName();
|
||||
|
||||
void OverrideApplicationVersion(const std::string& version);
|
||||
std::string GetOverriddenApplicationVersion();
|
||||
|
||||
std::string GetApplicationName();
|
||||
std::string GetApplicationVersion();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue