Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions UnityLauncherPro/Tools.cs
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,11 @@ public static bool VersionIsAlpha(string version)
return version.Contains("a");
}

public static bool VersionIsChinese(string version)
{
return version.Contains("c1");
}

// open release notes page in browser
public static bool OpenReleaseNotes(string version)
{
Expand Down Expand Up @@ -547,6 +552,7 @@ public static int VersionAsInt(string version)
// remove a,b,f,p
cleanVersion = cleanVersion.Replace("a", ".");
cleanVersion = cleanVersion.Replace("b", ".");
cleanVersion = cleanVersion.Replace("c1", "");
cleanVersion = cleanVersion.Replace("f", ".");
cleanVersion = cleanVersion.Replace("p", ".");

Expand Down