mirror of
https://github.com/debauchee/barrier.git
synced 2026-07-02 01:47:37 +08:00
server should look for config in the profile() dir rather than the personal() dir. removed personal() since it is no longer used.
This commit is contained in:
@@ -23,18 +23,6 @@ std::string known_folder_path(const KNOWNFOLDERID& id)
|
||||
return path;
|
||||
}
|
||||
|
||||
const std::string& DataDirectories::personal()
|
||||
{
|
||||
if (_personal.empty())
|
||||
_personal = known_folder_path(FOLDERID_Documents);
|
||||
return _personal;
|
||||
}
|
||||
const std::string& DataDirectories::personal(const std::string& path)
|
||||
{
|
||||
_personal = path;
|
||||
return _personal;
|
||||
}
|
||||
|
||||
const std::string& DataDirectories::profile()
|
||||
{
|
||||
if (_profile.empty())
|
||||
|
||||
Reference in New Issue
Block a user