Disable update check
This commit is contained in:
parent
792a622ffb
commit
4fb7756367
2 changed files with 17 additions and 0 deletions
16
debian/patches/0004-no-update-check.patch
vendored
Normal file
16
debian/patches/0004-no-update-check.patch
vendored
Normal 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",
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue