Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit890c63c

Browse files
committed
fix release notes link for 6000.1.0b* versions
1 parentfeafd2d commit890c63c

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

‎UnityLauncherPro/Tools.cs‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -869,19 +869,21 @@ public static string CleanVersionNumber(string version)
869869

870870
varsplit=version.Split('.');
871871
floatparsedVersion=float.Parse($"{split[0]}.{split[1]}");
872-
// 2023.3 and newer Alpha releases, no replace
873-
if(IsAlpha(version)&&parsedVersion>=2023.3)
872+
873+
// For 2023.3 and newer pre-release (alpha or beta) versions, do not clean.
874+
if((IsAlpha(version)||version.Contains("b"))&&parsedVersion>=2023.3)
874875
{
875-
//do nothing
876+
//Do nothing; leave version unchanged.
876877
}
877878
else
878879
{
879-
//note oldpatch versions still contains p## in the end
880-
version=Regex.Replace(version,@"[f|a|b][0-9]{1,2}","",RegexOptions.IgnoreCase);
880+
//Remove the trailingpatch/build indicator.
881+
version=Regex.Replace(version,@"[fab][0-9]{1,2}","",RegexOptions.IgnoreCase);
881882
}
882883
returnversion;
883884
}
884885

886+
885887
// TODO only hash version is used, cleanup the rest
886888
publicstaticstringParseDownloadURLFromWebpage(stringversion,stringhash=null,boolpreferFullInstaller=false,booluseHash=false)
887889
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp