mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25: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;
|
||||
}
|
||||
|
||||
void Render::InitializeLogger() {
|
||||
if (std::filesystem::exists(exec_log_path_)) {
|
||||
InitLogger(exec_log_path_);
|
||||
} else {
|
||||
InitLogger("logs");
|
||||
}
|
||||
}
|
||||
void Render::InitializeLogger() { InitLogger(exec_log_path_); }
|
||||
|
||||
void Render::InitializeSettings() {
|
||||
LoadSettingsFromCacheFile();
|
||||
|
||||
Reference in New Issue
Block a user