mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-05 21:37:10 -04: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>
|
||||
public override bool CanSelfUpdate
|
||||
{
|
||||
get { return ConfigurationManager.CommonConfiguration.EnableAutoUpdate; }
|
||||
get
|
||||
{
|
||||
#if DEBUG
|
||||
return false;
|
||||
#endif
|
||||
return ConfigurationManager.CommonConfiguration.EnableAutoUpdate;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user