diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2019-02-03 22:34:40 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-03 22:34:40 -0500 |
| commit | 20033f2275361ed4d46df77da0694f8f7dc3f04f (patch) | |
| tree | 958ec85809d478ad3088d101365f1695e6ba617f /Emby.Server.Implementations/EntryPoints/StartupWizard.cs | |
| parent | be89d53a9e16e16f434c35e22814f1d9fe3fc16d (diff) | |
| parent | c4c0894b29898ab6826542abc7a247291b46f804 (diff) | |
Merge branch 'master' into fix-env
Diffstat (limited to 'Emby.Server.Implementations/EntryPoints/StartupWizard.cs')
| -rw-r--r-- | Emby.Server.Implementations/EntryPoints/StartupWizard.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/EntryPoints/StartupWizard.cs b/Emby.Server.Implementations/EntryPoints/StartupWizard.cs index bb96120f4..8be6db87d 100644 --- a/Emby.Server.Implementations/EntryPoints/StartupWizard.cs +++ b/Emby.Server.Implementations/EntryPoints/StartupWizard.cs @@ -1,3 +1,4 @@ +using System.Threading.Tasks; using Emby.Server.Implementations.Browser; using MediaBrowser.Controller; using MediaBrowser.Controller.Configuration; @@ -32,11 +33,11 @@ namespace Emby.Server.Implementations.EntryPoints /// <summary> /// Runs this instance. /// </summary> - public void Run() + public Task RunAsync() { if (!_appHost.CanLaunchWebBrowser) { - return; + return Task.CompletedTask; } if (!_config.Configuration.IsStartupWizardCompleted) @@ -52,6 +53,8 @@ namespace Emby.Server.Implementations.EntryPoints BrowserLauncher.OpenWebApp(_appHost); } } + + return Task.CompletedTask; } /// <summary> |
