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

Commit c80a433

Browse files
update versions cache, fix savecache for unofficial check
1 parent 50db576 commit c80a433

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

‎UnityLauncherPro/GetUnityUpdates.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,12 @@ public static async Task<List<UnityVersion>> FetchAll(bool useUnofficialList = f
4242
allVersions = unofficialVersions.Concat(allVersions).ToList();
4343
}
4444

45-
if (newVersions.Count > 0)
45+
if (newVersions.Count > 0||(useUnofficialList&&unofficialReleaseURLs.Count>0))
4646
{
4747
SaveCachedVersions(allVersions);
4848
}
4949

50+
5051
return allVersions;
5152
}
5253

‎UnityLauncherPro/Resources/UnityVersionCache.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /