浏览代码

Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser

Luke Pulverenti 10 年之前
父节点
当前提交
9be4e12d00
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      MediaBrowser.ServerApplication/MainStartup.cs

+ 1 - 1
MediaBrowser.ServerApplication/MainStartup.cs

@@ -224,7 +224,7 @@ namespace MediaBrowser.ServerApplication
 
 
             if (!runService)
             if (!runService)
             {
             {
-                ShowSplashScreen(_appHost.ApplicationVersion, initProgress, logManager.GetLogger("Splash"));
+                if (!options.ContainsOption("-nosplash")) ShowSplashScreen(_appHost.ApplicationVersion, initProgress, logManager.GetLogger("Splash"));
                 
                 
                 // Not crazy about this but it's the only way to suppress ffmpeg crash dialog boxes
                 // Not crazy about this but it's the only way to suppress ffmpeg crash dialog boxes
                 SetErrorMode(ErrorModes.SEM_FAILCRITICALERRORS | ErrorModes.SEM_NOALIGNMENTFAULTEXCEPT |
                 SetErrorMode(ErrorModes.SEM_FAILCRITICALERRORS | ErrorModes.SEM_NOALIGNMENTFAULTEXCEPT |