mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-31 09:02:41 +01:00
Minor setup wizard fixes
This commit is contained in:
@@ -273,7 +273,7 @@ namespace Tgstation.Server.Host.Core
|
||||
ConnectionString = csb.ConnectionString
|
||||
};
|
||||
csb.Database = databaseName;
|
||||
databaseConfiguration.ConnectionString = csb.ConnectionString.Replace(";User Id=", ";uid=", StringComparison.Ordinal).Replace(";Password=", ";Pwd=", StringComparison.Ordinal); //stupidity
|
||||
databaseConfiguration.ConnectionString = csb.ConnectionString;
|
||||
}
|
||||
|
||||
try
|
||||
@@ -359,7 +359,7 @@ namespace Tgstation.Server.Host.Core
|
||||
Console.WriteLine();
|
||||
Console.WriteLine("Enter a GitHub personal access token to bypass some rate limits (this is optional and does not require any scopes)");
|
||||
Console.Write("GitHub personal access token: ");
|
||||
generalConfiguration.GitHubAccessToken = Console.ReadLine();
|
||||
generalConfiguration.GitHubAccessToken = GetPassword();
|
||||
if (String.IsNullOrWhiteSpace(generalConfiguration.GitHubAccessToken))
|
||||
generalConfiguration.GitHubAccessToken = null;
|
||||
|
||||
@@ -404,6 +404,9 @@ namespace Tgstation.Server.Host.Core
|
||||
throw new OperationCanceledException();
|
||||
}
|
||||
|
||||
Console.WriteLine("Waiting for configuration changes to reload...");
|
||||
Task.Delay(TimeSpan.FromSeconds(5)).GetAwaiter().GetResult();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user