mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-16 12:58:33 +02:00
Migrate non-destructive calls of File::CopyDir() to File::Copy().
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user