diff options
| author | Luke <luke.pulverenti@gmail.com> | 2017-12-01 12:06:40 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-01 12:06:40 -0500 |
| commit | defc35aedc703741239f71e161f8008caba8b746 (patch) | |
| tree | df3d9b71dc5164819b0be991e1e6863749270068 /Emby.Server.Implementations/EntryPoints | |
| parent | 82254bd3c4d5b4c444a6aebd25512c43aad60f1a (diff) | |
| parent | 6320869212269ae34dfb9f1aad31fc0dcdd76790 (diff) | |
Merge pull request #3048 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Implementations/EntryPoints')
| -rw-r--r-- | Emby.Server.Implementations/EntryPoints/StartupWizard.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/EntryPoints/StartupWizard.cs b/Emby.Server.Implementations/EntryPoints/StartupWizard.cs index 8d1355795..746edf9e7 100644 --- a/Emby.Server.Implementations/EntryPoints/StartupWizard.cs +++ b/Emby.Server.Implementations/EntryPoints/StartupWizard.cs @@ -41,7 +41,12 @@ namespace Emby.Server.Implementations.EntryPoints } else if (_config.Configuration.IsStartupWizardCompleted) { - BrowserLauncher.OpenDashboardPage("index.html", _appHost); + var options = ((ApplicationHost)_appHost).StartupOptions; + + if (!options.ContainsOption("-service") && !options.ContainsOption("-nobrowser")) + { + BrowserLauncher.OpenDashboardPage("index.html", _appHost); + } } } |
