Don't auto update in debug mode

This commit is contained in:
Luke Pulverenti 2013-08-08 13:00:20 -04:00
parent 280a53868a
commit e9d47569b5

View File

@ -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>