use LOCALAPPDATA for fs_get_cache_directory()
This commit is contained in:
parent
c11fa8c8ed
commit
e0a2d830ca
1 changed files with 1 additions and 1 deletions
|
@ -1874,7 +1874,7 @@ std::string fs_get_cache_directory() {
|
|||
#elif defined(__APPLE__)
|
||||
cache_directory = std::getenv("HOME") + std::string("/Library/Caches/");
|
||||
#elif defined(_WIN32)
|
||||
cache_directory = std::getenv("APPDATA");
|
||||
cache_directory = std::getenv("LOCALAPPDATA");
|
||||
#endif // __linux__
|
||||
cache_directory = ensure_trailing_slash(cache_directory);
|
||||
cache_directory += "llama.cpp";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue