summaryrefslogtreecommitdiff
path: root/Source/Core/UICommon/AutoUpdate.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2021-07-06 02:22:28 +0200
committerGitHub <noreply@github.com>2021-07-06 02:22:28 +0200
commit27c560fdfa182692316d7f0196bd782b11b7744f (patch)
tree6881f3b4808e0b8a515e506b336b2090bdec8072 /Source/Core/UICommon/AutoUpdate.cpp
parentccc2b7bd25a625b25c3ab1692f326d96349e37bf (diff)
parent833d5a3e9f6b6a59115ba225c6000747a9bffc93 (diff)
Merge pull request #8915 from OatmealDome/updater-temp-dir
macOS: Untranslocate the app bundle's path for the updater
Diffstat (limited to 'Source/Core/UICommon/AutoUpdate.cpp')
-rw-r--r--Source/Core/UICommon/AutoUpdate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/UICommon/AutoUpdate.cpp b/Source/Core/UICommon/AutoUpdate.cpp
index f5898f592b..c3363bcf23 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();