Update MainStartup.cs
Hide the start up splash screen if nosplash is given as a command line parameter.
This commit is contained in:
parent
fba1ed8062
commit
360f4e5cbd
|
@ -224,7 +224,7 @@ namespace MediaBrowser.ServerApplication
|
|||
|
||||
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
|
||||
SetErrorMode(ErrorModes.SEM_FAILCRITICALERRORS | ErrorModes.SEM_NOALIGNMENTFAULTEXCEPT |
|
||||
|
|
Loading…
Reference in New Issue
Block a user