diff options
| author | OatmealDome <julian@oatmealdome.me> | 2022-03-15 18:40:13 -0400 |
|---|---|---|
| committer | OatmealDome <julian@oatmealdome.me> | 2022-03-18 03:04:51 -0400 |
| commit | e23df9369dfcc8e02c1d2b6de39166a5b9dd80db (patch) | |
| tree | d66fe1b1a56480e3daab241c55257602a62882d1 /Source/Core/UICommon/AutoUpdate.cpp | |
| parent | c9896e1c4b95b8d8164e505037f3e887d9caf2fb (diff) | |
CMakeLists: Add option to 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() |
