From 833d5a3e9f6b6a59115ba225c6000747a9bffc93 Mon Sep 17 00:00:00 2001 From: OatmealDome Date: Mon, 29 Jun 2020 14:40:12 -0400 Subject: [PATCH] AutoUpdate: Put updater log in the user log directory --- Source/Core/UICommon/AutoUpdate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/UICommon/AutoUpdate.cpp b/Source/Core/UICommon/AutoUpdate.cpp index 5808d3ac2e..5e41ec4ae7 100644 --- a/Source/Core/UICommon/AutoUpdate.cpp +++ b/Source/Core/UICommon/AutoUpdate.cpp @@ -227,7 +227,7 @@ void AutoUpdateChecker::TriggerUpdate(const AutoUpdateChecker::NewVersionInforma updater_flags["parent-pid"] = std::to_string(getpid()); #endif updater_flags["install-base-path"] = File::GetExeDirectory(); - updater_flags["log-file"] = File::GetExeDirectory() + DIR_SEP + UPDATER_LOG_FILE; + updater_flags["log-file"] = File::GetUserPath(D_LOGS_IDX) + UPDATER_LOG_FILE; if (restart_mode == RestartMode::RESTART_AFTER_UPDATE) updater_flags["binary-to-restart"] = File::GetExePath();