mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 12:26:08 +08:00
Use ~/.vcpkg/config instead of ~/vcpkg/config
This commit is contained in:
parent
fbf5fe8229
commit
c3062a7b8d
@ -35,7 +35,7 @@ namespace vcpkg
|
|||||||
return get_localappdata() / "vcpkg" / "config";
|
return get_localappdata() / "vcpkg" / "config";
|
||||||
#else
|
#else
|
||||||
auto maybe_home = System::get_environment_variable("HOME");
|
auto maybe_home = System::get_environment_variable("HOME");
|
||||||
return fs::path(maybe_home.value_or("/var")) / "vcpkg" / "config";
|
return fs::path(maybe_home.value_or("/var")) / ".vcpkg" / "config";
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user