updater: use new platform id for win-arm64
This commit is contained in:
parent
107a928452
commit
896d5454f0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue