mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
[fix] fix log path issue on first launch
This commit is contained in:
@@ -899,13 +899,7 @@ int Render::Run() {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Render::InitializeLogger() {
|
void Render::InitializeLogger() { InitLogger(exec_log_path_); }
|
||||||
if (std::filesystem::exists(exec_log_path_)) {
|
|
||||||
InitLogger(exec_log_path_);
|
|
||||||
} else {
|
|
||||||
InitLogger("logs");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void Render::InitializeSettings() {
|
void Render::InitializeSettings() {
|
||||||
LoadSettingsFromCacheFile();
|
LoadSettingsFromCacheFile();
|
||||||
|
|||||||
Reference in New Issue
Block a user