mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +08:00
[fix] save log files into XDG_CACHE_HOME/CrossDesk/logs for Linux platform
This commit is contained in:
@@ -30,7 +30,7 @@ std::filesystem::path PathManager::GetLogPath() {
|
|||||||
#elif __APPLE__
|
#elif __APPLE__
|
||||||
return GetHome() + "/Library/Logs/" + app_name_;
|
return GetHome() + "/Library/Logs/" + app_name_;
|
||||||
#else
|
#else
|
||||||
return GetCachePath() / "logs";
|
return GetCachePath() / app_name_ / "logs";
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user