remove sample environment configuration values, as they will fuck up defaults now

This commit is contained in:
13xforever
2019-03-04 18:00:17 +05:00
parent 31056cacd3
commit c4a3722c6f
3 changed files with 4 additions and 12 deletions

View File

@@ -140,8 +140,8 @@ namespace CompatBot
inMemorySettings[nameof(Token)] = args[1];
config = new ConfigurationBuilder()
.AddEnvironmentVariables() // lower priority
.AddUserSecrets(Assembly.GetEntryAssembly())
.AddUserSecrets(Assembly.GetEntryAssembly()) // lower priority
.AddEnvironmentVariables()
.AddInMemoryCollection(inMemorySettings) // higher priority
.Build();
Log = GetLog();

View File

@@ -1,15 +1,7 @@
{
"profiles": {
"default": {
"commandName": "Project",
"environmentVariables": {
"BotLogId": "",
"BotSpamId": "",
"BotAdminId": "",
"BotChannelId": "",
"BotRulesChannelId": "",
"Token": ""
}
"commandName": "Project"
}
}
}

View File

@@ -38,7 +38,7 @@ namespace CompatBot.Utils.ResultFormatters
{
systemInfo += " | " + items["os_path"];
if (items["os_windows_version"] is string winVer)
systemInfo += " " + winVer + " or newer";
systemInfo += " " + winVer;
}
systemInfo += $"{Environment.NewLine}{items["cpu_model"]} | {items["thread_count"]} Threads | {items["memory_amount"]} GiB RAM";
if (!string.IsNullOrEmpty(items["cpu_extensions"]))