Fix build and ensure no breaking change
This commit is contained in:
parent
5f7a173d1d
commit
87c2f0f14f
8 changed files with 91 additions and 31 deletions
18
brightray/common/application_info.cc
Normal file
18
brightray/common/application_info.cc
Normal file
|
@ -0,0 +1,18 @@
|
|||
#include "brightray/common/application_info.h"
|
||||
|
||||
namespace brightray {
|
||||
|
||||
namespace {
|
||||
|
||||
std::string overriden_application_name_;
|
||||
|
||||
}
|
||||
|
||||
void OverrideApplicationName(const std::string& name) {
|
||||
overriden_application_name_ = name;
|
||||
}
|
||||
std::string GetOverridenApplicationName() {
|
||||
return overriden_application_name_;
|
||||
}
|
||||
|
||||
} // namespace brightray
|
Loading…
Add table
Add a link
Reference in a new issue