Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #10759 from shuffle2/arm64-update
updater: use new platform id for win-arm64
  • Loading branch information
delroth committed Jun 17, 2022
2 parents 107a928 + 896d545 commit f50db76
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Source/Core/UICommon/AutoUpdate.cpp
Expand Up @@ -128,22 +128,22 @@ std::string GenerateChangelog(const picojson::array& versions)

bool AutoUpdateChecker::SystemSupportsAutoUpdates()
{
#if defined AUTOUPDATE
#if defined _WIN32 || defined __APPLE__
#if defined(AUTOUPDATE) && (defined(_WIN32) || defined(__APPLE__))
return true;
#else
return false;
#endif
#else
return false;
#endif
}

static std::string GetPlatformID()
{
#if defined _WIN32
#if defined(_WIN32)
#if defined(_M_ARM_64)
return "win-arm64";
#else
return "win";
#elif defined __APPLE__
#endif
#elif defined(__APPLE__)
#if defined(MACOS_UNIVERSAL_BUILD)
return "macos-universal";
#else
Expand Down

0 comments on commit f50db76

Please sign in to comment.