mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-02-23 13:02:26 +00:00
Update MainStartup.cs
Hide the start up splash screen if nosplash is given as a command line parameter.
This commit is contained in:
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user