launcher: EAC-aware exe pick + optional TLS trust bypass

Launch RecRoom.exe directly on 2020.12 EAC builds (skip the
Recroom_Release.exe EAC wrapper); fall back to whichever single
binary exists. Add an opt-in "trust self-signed TLS certs" toggle
that flows through ClientPatcher into the ClientMod config, off by
default since Localtunnel/Tunnelto serve valid certs.
This commit is contained in:
Alexa
2026-05-31 12:32:16 +03:00
parent 43b27e674a
commit 0a76a4ec13
5 changed files with 88 additions and 16 deletions
+11
View File
@@ -79,6 +79,17 @@ public sealed class AppState
[JsonPropertyName("launchInScreenMode")]
public bool LaunchInScreenMode { get; set; }
/// <summary>When true, the patched ClientMod skips BouncyCastle's
/// TLS chain validation — needed only for self-signed certs on a
/// LAN-only / dev tunnel. Localtunnel + Tunnelto both terminate
/// TLS with valid certs, so the default is off. Leaving it on
/// triggers a CLR detour-compile crash (0x80131506) on the
/// december build — see project_build_layout_per_branch +
/// MonoMod's CompileMethodHook comment in
/// DorkNet.ClientMod/Mod.cs.</summary>
[JsonPropertyName("enableTlsTrustBypass")]
public bool EnableTlsTrustBypass { get; set; }
private static readonly JsonSerializerOptions JsonOptions = new()
{
WriteIndented = true,