updater: use new platform id for win-arm64

This commit is contained in:
Shawn Hoffman 2022-06-16 14:55:51 -07:00
parent 107a928452
commit 896d5454f0
1 changed files with 7 additions and 7 deletions

View File

@ -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