aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
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>