mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-24 19:43:33 +01:00
parent
c09a8f990c
commit
830bd8d449
@ -111,7 +111,11 @@ static void loadConfig()
|
||||
|
||||
try
|
||||
{
|
||||
auto pghs = Paragraphs::get_paragraphs(localappdata / "vcpkg" / "config").get_or_exit(VCPKG_LINE_INFO);
|
||||
auto maybe_pghs = Paragraphs::get_paragraphs(localappdata / "vcpkg" / "config");
|
||||
if (auto p_pghs = maybe_pghs.get())
|
||||
{
|
||||
const auto& pghs = *p_pghs;
|
||||
|
||||
std::unordered_map<std::string, std::string> keys;
|
||||
if (pghs.size() > 0)
|
||||
keys = pghs[0];
|
||||
@ -129,6 +133,7 @@ static void loadConfig()
|
||||
SetUserInformation(user_id, user_time);
|
||||
return;
|
||||
}
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user