Skip to content
This repository was archived by the owner on May 19, 2021. It is now read-only.

Commit fc22f90

Browse files
committed
update alpha, beta release note links fixes #61
1 parent f2ce747 commit fc22f90

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

UnityLauncher/Tools.cs

+8-1
Original file line numberDiff line numberDiff line change
@@ -179,13 +179,20 @@ public static string GetUnityReleaseURL(string version)
179179
version = Regex.Replace(version, @"f.", "", RegexOptions.IgnoreCase);
180180
url = "https://unity3d.com/unity/whatsnew/unity-" + version;
181181
}
182+
else
182183
if (version.Contains("p")) // patch version
183184
{
184185
url = "https://unity3d.com/unity/qa/patch-releases/" + version;
185186
}
187+
else
186188
if (version.Contains("b")) // beta version
187189
{
188-
url = "https://unity3d.com/unity/beta/unity" + version;
190+
url = "https://unity3d.com/unity/beta/" + version;
191+
}
192+
else
193+
if (version.Contains("a")) // alpha version
194+
{
195+
url = "https://unity3d.com/unity/alpha/" + version;
189196
}
190197
return url;
191198
}

0 commit comments

Comments
 (0)