diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2022-03-18 08:33:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-18 08:33:13 +0100 |
| commit | f73b2d70a60d430ccba91d3b335578f2a5886bd1 (patch) | |
| tree | 1f2cd280b4411751eb8671aee150ecbcf50b5287 /Source/Core/UICommon/AutoUpdate.cpp | |
| parent | bf261f6144a8cc75bcbdd4c09b19bdfa3dbe49b3 (diff) | |
| parent | e23df9369dfcc8e02c1d2b6de39166a5b9dd80db (diff) | |
Merge pull request #10516 from OatmealDome/steam
CMakeLists: Add flag to enable / disable automatic update support
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 e423b9ec86..d02c2356b3 100644 --- a/Source/Core/UICommon/AutoUpdate.cpp +++ b/Source/Core/UICommon/AutoUpdate.cpp @@ -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() |
