aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.ServerApplication/EntryPoints
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-09-20 13:32:10 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-09-20 13:32:10 -0400
commitf3ce127a62714c97747f1e9575aaea1e9cdb3b6a (patch)
treed138a473d31b69e8ba59020b0dc1da3c51c2833e /MediaBrowser.ServerApplication/EntryPoints
parente50c29ffca5c4a5865d8b0bf34c2f655387f1d3e (diff)
starting point towards running as a service
Diffstat (limited to 'MediaBrowser.ServerApplication/EntryPoints')
-rw-r--r--MediaBrowser.ServerApplication/EntryPoints/StartupWizard.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/MediaBrowser.ServerApplication/EntryPoints/StartupWizard.cs b/MediaBrowser.ServerApplication/EntryPoints/StartupWizard.cs
index 87578ef84c..aac5a8cb83 100644
--- a/MediaBrowser.ServerApplication/EntryPoints/StartupWizard.cs
+++ b/MediaBrowser.ServerApplication/EntryPoints/StartupWizard.cs
@@ -64,7 +64,10 @@ namespace MediaBrowser.ServerApplication.EntryPoints
{
_logger.ErrorException("Error launching startup wizard", ex);
- MessageBox.Show("There was an error launching the Media Browser startup wizard. Please ensure a web browser is installed on the machine and is configured as the default browser.", "Media Browser");
+ if (!_appHost.IsBackgroundService)
+ {
+ MessageBox.Show("There was an error launching the Media Browser startup wizard. Please ensure a web browser is installed on the machine and is configured as the default browser.", "Media Browser");
+ }
}
}