Disable update check

This commit is contained in:
Sebastian Ramacher 2016-02-24 21:23:06 +01:00
parent 792a622ffb
commit 4fb7756367
2 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,16 @@
Description: Update checks do not make sense for a distribution
Author: Sebastian Ramacher <sramacher@debian.org>
Forwarded: not-needed
Last-Update: 2016-02-24
--- obs-studio-0.13.2+dfsg1.orig/obs/window-basic-main.cpp
+++ obs-studio-0.13.2+dfsg1/obs/window-basic-main.cpp
@@ -1729,7 +1729,7 @@ void OBSBasic::TimedCheckForUpdates()
#ifdef UPDATE_SPARKLE
init_sparkle_updater(config_get_bool(App()->GlobalConfig(), "General",
"UpdateToUndeployed"));
-#else
+#elif 0
long long lastUpdate = config_get_int(App()->GlobalConfig(), "General",
"LastUpdateCheck");
uint32_t lastVersion = config_get_int(App()->GlobalConfig(), "General",

View file

@ -1,3 +1,4 @@
0001-Use-common-license.patch 0001-Use-common-license.patch
0002-Buildsystem.patch 0002-Buildsystem.patch
0003-override-path.patch 0003-override-path.patch
0004-no-update-check.patch