Update MainStartup.cs
Updated based on feedback. Best to keep everything consistent.
This commit is contained in:
parent
360f4e5cbd
commit
3d76afc1ec
|
@ -224,7 +224,7 @@ namespace MediaBrowser.ServerApplication
|
||||||
|
|
||||||
if (!runService)
|
if (!runService)
|
||||||
{
|
{
|
||||||
if (!options.ContainsOption("nosplash")) 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 |
|
||||||
|
|
Loading…
Reference in New Issue
Block a user