Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1f58caf

Browse files
committedMar 26, 2020
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
 

‎UnityLauncherPro/Tools.cs

Lines changed: 3 additions & 0 deletions
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)
Please sign in to comment.