Merge pull request #10516 from OatmealDome/steam

CMakeLists: Add flag to enable / disable automatic update support
This commit is contained in:
Pierre Bourdon
2022-03-18 08:33:13 +01:00
committed by GitHub
3 changed files with 12 additions and 2 deletions

View File

@ -128,11 +128,15 @@ std::string GenerateChangelog(const picojson::array& versions)
bool AutoUpdateChecker::SystemSupportsAutoUpdates()
{
#if defined AUTOUPDATE
#if defined _WIN32 || defined __APPLE__
return true;
#else
return false;
#endif
#else
return false;
#endif
}
static std::string GetPlatformID()