mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-11 08:10:34 +02:00
Don't auto update in debug mode
This commit is contained in:
parent
280a53868a
commit
e9d47569b5
|
@ -507,7 +507,13 @@ namespace MediaBrowser.ServerApplication
|
||||||
/// <value><c>true</c> if this instance can self update; otherwise, <c>false</c>.</value>
|
/// <value><c>true</c> if this instance can self update; otherwise, <c>false</c>.</value>
|
||||||
public override bool CanSelfUpdate
|
public override bool CanSelfUpdate
|
||||||
{
|
{
|
||||||
get { return ConfigurationManager.CommonConfiguration.EnableAutoUpdate; }
|
get
|
||||||
|
{
|
||||||
|
#if DEBUG
|
||||||
|
return false;
|
||||||
|
#endif
|
||||||
|
return ConfigurationManager.CommonConfiguration.EnableAutoUpdate;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in a new issue