Add Tunnelto hosting support

This commit is contained in:
Alexa
2026-05-27 18:26:39 +03:00
parent f9a40ba788
commit b6a0990afe
13 changed files with 498 additions and 83 deletions
+7 -2
View File
@@ -72,10 +72,15 @@ public enum StepState
/// obvious what stages a user will see.</summary>
public static class StartupFlow
{
public static ObservableCollection<StartupStep> NewHostFlow(bool isLocalNetwork) => new()
public static ObservableCollection<StartupStep> NewHostFlow(HostingMode mode) => new()
{
new StartupStep("Download server binary"),
new StartupStep(isLocalNetwork ? "Find your local network address" : "Set up Cloudflare tunnel"),
new StartupStep(mode switch
{
HostingMode.LocalNetwork => "Set up local sslip.io address",
HostingMode.RemoteWildcard => "Set up Tunnelto tunnel",
_ => "Set up Tunnelto tunnel",
}),
new StartupStep("Start the server"),
new StartupStep("Download client patcher"),
new StartupStep("Unlock Rec Room from Steam (if needed)"),