Skip to content

Commit

Permalink
Stop server from autostarting with SQLite on first run
Browse files Browse the repository at this point in the history
  • Loading branch information
Cazzar committed Apr 29, 2017
1 parent 85f6cc0 commit c9450f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shoko.UI/MainWindow.xaml.cs
Expand Up @@ -50,7 +50,7 @@ public MainWindow()

Thread.CurrentThread.CurrentUICulture = CultureInfo.GetCultureInfo(ServerSettings.Culture);

if (!ShokoServer.Instance.StartUpServer())
if (!ServerSettings.FirstRun && !ShokoServer.Instance.StartUpServer())
{
MessageBox.Show(Commons.Properties.Resources.Server_Running,
Commons.Properties.Resources.ShokoServer, MessageBoxButton.OK, MessageBoxImage.Error);
Expand Down

0 comments on commit c9450f8

Please sign in to comment.