aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-08-08 13:00:20 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-08-08 13:00:20 -0400
commite9d47569b54e23fe4cd87ca0a005a5a6040ed9ce (patch)
treea2e4d091aee811aa46954aca8a6ada13ecab8102
parent280a53868a0033463a31dc3006b36ce209663b69 (diff)
Don't auto update in debug mode
-rw-r--r--MediaBrowser.ServerApplication/ApplicationHost.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/MediaBrowser.ServerApplication/ApplicationHost.cs b/MediaBrowser.ServerApplication/ApplicationHost.cs
index f6efe899f..af719a07c 100644
--- a/MediaBrowser.ServerApplication/ApplicationHost.cs
+++ b/MediaBrowser.ServerApplication/ApplicationHost.cs
@@ -507,7 +507,13 @@ namespace MediaBrowser.ServerApplication
/// <value><c>true</c> if this instance can self update; otherwise, <c>false</c>.</value>
public override bool CanSelfUpdate
{
- get { return ConfigurationManager.CommonConfiguration.EnableAutoUpdate; }
+ get
+ {
+#if DEBUG
+ return false;
+#endif
+ return ConfigurationManager.CommonConfiguration.EnableAutoUpdate;
+ }
}
/// <summary>