mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue