MikuSB.Loader

This commit is contained in:
Kei-Luna
2026-05-13 07:19:45 +09:00
parent e92b214161
commit d9b16fb55d
13 changed files with 466 additions and 275 deletions

View File

@@ -9,6 +9,7 @@ public class ConfigContainer
public PathConfig Path { get; set; } = new();
public ServerOption ServerOption { get; set; } = new();
public ProxyOptions Proxy { get; set; } = new();
public LoaderOptions Loader { get; set; } = new();
}
public class HttpServerConfig
@@ -88,8 +89,12 @@ public class ProxyOptions
public bool Enabled { get; set; } = true;
public int Port { get; set; } = 18888;
public int ServerHttpPort { get; set; } = 21500;
public bool InstallRootCertificate { get; set; } = false;
public bool ManageSystemProxy { get; set; } = false;
public bool RestoreSystemProxyOnStop { get; set; } = false;
public string ProxyOverride { get; set; } = "localhost;127.*;10.*;192.168.*;<local>";
}
public class LoaderOptions
{
public string GamePath { get; set; } = "";
public string[] PatchPaths { get; set; } = [@"Patch\MikuSB-Patch.dll"];
public string[] Arguments { get; set; } = ["-FeatureLevelES31", "-channelid=seasun", "-NoSplash"];
public bool SetAllProxy { get; set; } = true;
}