mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 00:20:50 +00:00
Implement IPCPrefixes
This makes it possible to not only listen on multiple different host/port combinations, but also different protocols or base URLs (even though this will probably break things up, need to do more tests)
This commit is contained in:
@@ -449,7 +449,12 @@ namespace ArchiSteamFarm {
|
||||
goto default;
|
||||
}
|
||||
|
||||
IPC.Start(GlobalConfig.IPCHost, GlobalConfig.IPCPort);
|
||||
if (GlobalConfig.IPCPrefixes.Count == 0) {
|
||||
ASF.ArchiLogger.LogGenericError(string.Format(Strings.ErrorIsEmpty, nameof(GlobalConfig.IPCPrefixes)));
|
||||
break;
|
||||
}
|
||||
|
||||
IPC.Start(GlobalConfig.IPCPrefixes);
|
||||
break;
|
||||
case "--service":
|
||||
if (cryptKeyNext) {
|
||||
@@ -471,6 +476,8 @@ namespace ArchiSteamFarm {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
IPC.Start(GlobalConfig.IPCPrefixes);
|
||||
}
|
||||
|
||||
private static void ParsePreInitArgs(IReadOnlyCollection<string> args) {
|
||||
|
||||
Reference in New Issue
Block a user