mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
AutoUpdate: Put updater log in the user log directory
This commit is contained in:
@ -227,7 +227,7 @@ void AutoUpdateChecker::TriggerUpdate(const AutoUpdateChecker::NewVersionInforma
|
|||||||
updater_flags["parent-pid"] = std::to_string(getpid());
|
updater_flags["parent-pid"] = std::to_string(getpid());
|
||||||
#endif
|
#endif
|
||||||
updater_flags["install-base-path"] = File::GetExeDirectory();
|
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)
|
if (restart_mode == RestartMode::RESTART_AFTER_UPDATE)
|
||||||
updater_flags["binary-to-restart"] = File::GetExePath();
|
updater_flags["binary-to-restart"] = File::GetExePath();
|
||||||
|
Reference in New Issue
Block a user