mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-31 14:33:54 -04: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
@ -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…
x
Reference in New Issue
Block a user