mirror of
https://github.com/MikuLeaks/MikuSB.git
synced 2026-06-04 09:03:58 +00:00
MikuSB.Loader
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user