summaryrefslogtreecommitdiff
path: root/Source/Core/UICommon/AutoUpdate.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2023-02-27 12:02:00 +0100
committerGitHub <noreply@github.com>2023-02-27 12:02:00 +0100
commitc730ee2de2fa5683209f25b07f312fc23717e2b4 (patch)
tree34b4074900c40d8bb5702844931396e8eeb31ff2 /Source/Core/UICommon/AutoUpdate.cpp
parent4fb3042944e71213167b0bbc417508b3b1c9467e (diff)
parenta11b9d585f0d4668a8d4f698e0d03d1c79013eac (diff)
Merge pull request #11596 from AdmiralCurtiss/copyany
Common/FileUtil: Migrate CopyDir() to a more clear interface.
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 35b17ed19d..b67c499c14 100644
--- a/Source/Core/UICommon/AutoUpdate.cpp
+++ b/Source/Core/UICommon/AutoUpdate.cpp
@@ -248,7 +248,7 @@ void AutoUpdateChecker::TriggerUpdate(const AutoUpdateChecker::NewVersionInforma
#ifdef __APPLE__
// Copy the updater so it can update itself if needed.
const std::string reloc_updater_path = UpdaterPath(true);
- if (!File::CopyDir(UpdaterPath(), reloc_updater_path))
+ if (!File::Copy(UpdaterPath(), reloc_updater_path))
{
CriticalAlertFmtT("Unable to create updater copy.");
return;