mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
fixes
This commit is contained in:
parent
48912198ae
commit
c924447345
5 changed files with 7 additions and 20 deletions
|
@ -29,10 +29,6 @@
|
|||
#include <sys/stat.h>
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32) || defined(__APPLE__)
|
||||
#define OS_SUPPORTS_UPDATER
|
||||
#endif
|
||||
|
||||
// Refer to docs/autoupdate_overview.md for a detailed overview of the autoupdate process
|
||||
|
||||
namespace
|
||||
|
@ -81,14 +77,6 @@ std::string MakeUpdaterCommandLine(const std::map<std::string, std::string>& fla
|
|||
return cmdline;
|
||||
}
|
||||
|
||||
#ifdef __APPLE__
|
||||
void CleanupFromPreviousUpdate()
|
||||
{
|
||||
// Remove the relocated updater file.
|
||||
File::DeleteDirRecursively(UpdaterPath(true));
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
// This ignores i18n because most of the text in there (change descriptions) is only going to be
|
||||
|
@ -186,10 +174,6 @@ void AutoUpdateChecker::CheckForUpdate(std::string_view update_track,
|
|||
if (!SystemSupportsAutoUpdates() || update_track.empty())
|
||||
return;
|
||||
|
||||
#ifdef __APPLE__
|
||||
CleanupFromPreviousUpdate();
|
||||
#endif
|
||||
|
||||
std::string_view version_hash = hash_override.empty() ? Common::GetScmRevGitStr() : hash_override;
|
||||
std::string url = fmt::format("{}/update/check/v1/{}/{}/{}", GetUpdateServerUrl(), update_track,
|
||||
version_hash, GetPlatformID());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue