diff options
| author | OatmealDome <OatmealDome@users.noreply.github.com> | 2024-08-08 02:07:58 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-08 02:07:58 -0400 |
| commit | 644508cfd738a0cb44dd193644360d36f9cbb752 (patch) | |
| tree | 5071f4f283c31c1d5b88951f1d19570cb880d6a9 /Source/Core/UICommon/AutoUpdate.cpp | |
| parent | 8b1046595befe9e3d4a24aef8349bcac72d36b33 (diff) | |
| parent | 352bf09ef70f3c37335628fad22dcce2341be5f7 (diff) | |
Merge pull request #12968 from OatmealDome/mac-updater-embed-3
Embed the Updater into DolphinQt's app bundle 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 } |
