electron/brightray/common/application_info.cc

19 lines
339 B
C++
Raw Normal View History

#include "brightray/common/application_info.h"
namespace brightray {
namespace {
2018-02-05 05:47:00 +00:00
std::string g_overriden_application_name;
}
void OverrideApplicationName(const std::string& name) {
2018-02-05 05:47:00 +00:00
g_overriden_application_name = name;
}
std::string GetOverridenApplicationName() {
2018-02-05 05:47:00 +00:00
return g_overriden_application_name;
}
} // namespace brightray