aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.ServerApplication/App.xaml.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.ServerApplication/App.xaml.cs')
-rw-r--r--MediaBrowser.ServerApplication/App.xaml.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.ServerApplication/App.xaml.cs b/MediaBrowser.ServerApplication/App.xaml.cs
index 7bfebdfe9..9b978ca2d 100644
--- a/MediaBrowser.ServerApplication/App.xaml.cs
+++ b/MediaBrowser.ServerApplication/App.xaml.cs
@@ -79,13 +79,13 @@ namespace MediaBrowser.ServerApplication
await _appHost.Init();
+ var task = _appHost.RunStartupTasks();
+
if (!IsRunningAsService)
{
HideSplashWindow();
}
- var task = _appHost.RunStartupTasks();
-
if (!IsRunningAsService)
{
ShowMainWindow();