diff options
| author | OatmealDome <julian@oatmealdome.me> | 2024-08-01 12:38:16 -0400 |
|---|---|---|
| committer | OatmealDome <julian@oatmealdome.me> | 2024-08-01 22:09:52 -0400 |
| commit | 058000851b1c261858b4b89cd8636c6f5ecf6284 (patch) | |
| tree | 8307d06e4c861f3887787f8b33559c46002440b7 /Source/Core/UICommon/AutoUpdate.cpp | |
| parent | 7c94edb02cae578515c345d699b378f67c2ad610 (diff) | |
AutoUpdate: Use the embedded Updater on macOS
Diffstat (limited to 'Source/Core/UICommon/AutoUpdate.cpp')
| -rw-r--r-- | Source/Core/UICommon/AutoUpdate.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/Core/UICommon/AutoUpdate.cpp b/Source/Core/UICommon/AutoUpdate.cpp index 0bf87e4886..0f1ea63d58 100644 --- a/Source/Core/UICommon/AutoUpdate.cpp +++ b/Source/Core/UICommon/AutoUpdate.cpp @@ -49,15 +49,13 @@ const char UPDATER_LOG_FILE[] = "Updater.log"; std::string UpdaterPath(bool relocated = false) { - std::string path(File::GetExeDirectory() + DIR_SEP); #ifdef __APPLE__ if (relocated) - path += ".Dolphin Updater.2.app"; + return File::GetExeDirectory() + DIR_SEP + ".Dolphin Updater.2.app"; else - path += "Dolphin Updater.app"; - return path; + return File::GetBundleDirectory() + DIR_SEP + "Contents/Helpers/Dolphin Updater.app"; #else - return path + "Updater.exe"; + return File::GetExeDirectory() + DIR_SEP + "Updater.exe"; #endif } |
