This commit is contained in:
JustArchi
2018-09-08 01:11:57 +02:00
parent a04fb33343
commit 30ea4e46a5
3 changed files with 6 additions and 3 deletions

View File

@@ -23,6 +23,7 @@ using System;
using System.IO;
using System.Threading.Tasks;
using ArchiSteamFarm.IPC.Controllers.Api;
using ArchiSteamFarm.Localization;
using ArchiSteamFarm.NLog;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
@@ -54,6 +55,8 @@ namespace ArchiSteamFarm.IPC {
return;
}
ASF.ArchiLogger.LogGenericInfo(Strings.IPCStarting);
// The order of dependency injection matters, pay attention to it
IWebHostBuilder builder = new WebHostBuilder();
@@ -98,6 +101,7 @@ namespace ArchiSteamFarm.IPC {
}
KestrelWebHost = kestrelWebHost;
ASF.ArchiLogger.LogGenericInfo(Strings.IPCReady);
}
internal static async Task Stop() {

View File

@@ -1090,7 +1090,7 @@ namespace ArchiSteamFarm.Localization {
}
/// <summary>
/// Wyszukuje zlokalizowany ciąg podobny do ciągu Starting IPC server on {0}....
/// Wyszukuje zlokalizowany ciąg podobny do ciągu Starting IPC server....
/// </summary>
internal static string IPCStarting {
get {

View File

@@ -284,8 +284,7 @@ StackTrace:
<value>IPC server ready!</value>
</data>
<data name="IPCStarting" xml:space="preserve">
<value>Starting IPC server on {0}...</value>
<comment>{0} will be replaced by IPC hostname</comment>
<value>Starting IPC server...</value>
</data>
<data name="BotAlreadyStopped" xml:space="preserve">
<value>This bot has already stopped!</value>