diff options
| author | Skyler Saleh <skylersaleh@gmail.com> | 2021-05-23 20:33:39 -0700 |
|---|---|---|
| committer | Skyler Saleh <skylersaleh@gmail.com> | 2021-05-23 21:45:27 -0700 |
| commit | 210f6e7f0d44b199f303182367597f05cefe48f2 (patch) | |
| tree | 906050c8ee3bd5d70d122a78ecca1700ec2c9350 /Source/Core/UICommon/AutoUpdate.cpp | |
| parent | abea411bdc9383ef261ea1dc39729e920a2afeaa (diff) | |
Apple M1: Update AutoUpdate PlatformID
Adds a new PlatformID for universal builds. This will allow single architecture
builds to be updated through the single architecture path, and universal builds
to be updated with universal builds.
Diffstat (limited to 'Source/Core/UICommon/AutoUpdate.cpp')
| -rw-r--r-- | Source/Core/UICommon/AutoUpdate.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/UICommon/AutoUpdate.cpp b/Source/Core/UICommon/AutoUpdate.cpp index 0a5ad10c40..5808d3ac2e 100644 --- a/Source/Core/UICommon/AutoUpdate.cpp +++ b/Source/Core/UICommon/AutoUpdate.cpp @@ -140,7 +140,11 @@ static std::string GetPlatformID() #if defined _WIN32 return "win"; #elif defined __APPLE__ +#if defined(MACOS_UNIVERSAL_BUILD) + return "macos-universal"; +#else return "macos"; +#endif #else return "unknown"; #endif |
