зеркало из https://github.com/electron/electron.git
Update for move of string conversion functions into base::
This commit is contained in:
Родитель
08c017bd7d
Коммит
1269e59a35
|
@ -10,14 +10,14 @@ std::string GetApplicationName() {
|
|||
auto module = GetModuleHandle(nullptr);
|
||||
auto info = make_scoped_ptr(
|
||||
FileVersionInfo::CreateFileVersionInfoForModule(module));
|
||||
return UTF16ToUTF8(info->product_name());
|
||||
return base::UTF16ToUTF8(info->product_name());
|
||||
}
|
||||
|
||||
std::string GetApplicationVersion() {
|
||||
auto module = GetModuleHandle(nullptr);
|
||||
auto info = make_scoped_ptr(
|
||||
FileVersionInfo::CreateFileVersionInfoForModule(module));
|
||||
return UTF16ToUTF8(info->product_version());
|
||||
return base::UTF16ToUTF8(info->product_version());
|
||||
}
|
||||
|
||||
} // namespace brightray
|
||||
|
|
Загрузка…
Ссылка в новой задаче