diff options
| author | Luke <luke.pulverenti@gmail.com> | 2017-01-09 15:28:12 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-01-09 15:28:12 -0500 |
| commit | 488e36811df4de3a9d75333bc7b73d6ec2eb6ed9 (patch) | |
| tree | 123cfd54e289f98c75c7b722f2bda548c00ae6a2 /MediaBrowser.ServerApplication | |
| parent | d9dda3b56e4269e074379dee134130feab76ad04 (diff) | |
| parent | 85cd90d6e6bb022469cbb34248300f3164cf1775 (diff) | |
Merge pull request #2390 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.ServerApplication')
| -rw-r--r-- | MediaBrowser.ServerApplication/MainStartup.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/MediaBrowser.ServerApplication/MainStartup.cs b/MediaBrowser.ServerApplication/MainStartup.cs index c349401415..8dcabb9500 100644 --- a/MediaBrowser.ServerApplication/MainStartup.cs +++ b/MediaBrowser.ServerApplication/MainStartup.cs @@ -601,6 +601,12 @@ namespace MediaBrowser.ServerApplication /// <returns><c>true</c> if XXXX, <c>false</c> otherwise</returns> private static bool PerformUpdateIfNeeded(ServerApplicationPaths appPaths, ILogger logger) { + // Not supported + if (IsRunningAsService) + { + return false; + } + // Look for the existence of an update archive var updateArchive = Path.Combine(appPaths.TempUpdatePath, "MBServer" + ".zip"); if (File.Exists(updateArchive)) |
