Skip to content

Commit 1f58caf

Browse files
committed
fix unity release notes page issue (404 if url doesnt contain params) #build
1 parent 0d5a287 commit 1f58caf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: UnityLauncherPro/Tools.cs

+3
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,9 @@ static string ParseDownloadURLFromWebpage(string version)
368368
if (Tools.VersionIsBeta(version)) website = "https://unity3d.com/unity/beta/" + version;
369369
if (Tools.VersionIsAlpha(version)) website = "https://unity3d.com/unity/alpha/" + version;
370370

371+
// fix unity server problem, page says 404 found if no url params
372+
website += "?unitylauncherpro";
373+
371374
// download html
372375
string sourceHTML = client.DownloadString(website);
373376
string[] lines = sourceHTML.Split(new[] { "\r\n", "\r", "\n" }, StringSplitOptions.None);

0 commit comments

Comments
 (0)