Skip to content

Commit

Permalink
Comment steam beta branch check for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Jofairden committed May 9, 2020
1 parent 2bdb575 commit f5f8f79
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions patches/tModLoader/Terraria.ModLoader/ModLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ public static class ModLoader
// beta > 0 cannot publish to mod browser
public static readonly int beta = 1;

public static readonly string versionedName = SteamApps.GetCurrentBetaName(out string betaName, 100) ? betaName :
$"tModLoader v{version}" +
(branchName.Length == 0 ? "" : $" {branchName}") +
(beta == 0 ? "" : $" Beta {beta}");
// SteamApps.GetCurrentBetaName(out string betaName, 100) ? betaName :
public static readonly string versionedName = $"tModLoader v{version}" +
(branchName.Length == 0 ? "" : $" {branchName}") +
(beta == 0 ? "" : $" Beta {beta}");

public static readonly string versionTag = $"v{version}" +
(branchName.Length == 0 ? "" : $"-{branchName.ToLower()}") +
(beta == 0 ? "" : $"-beta{beta}");
(branchName.Length == 0 ? "" : $"-{branchName.ToLower()}") +
(beta == 0 ? "" : $"-beta{beta}");

[Obsolete("Use Platform.IsWindows")]
public static readonly bool windows = Platform.IsWindows;
Expand Down

0 comments on commit f5f8f79

Please sign in to comment.