Skip to content

Commit c80a433

Browse files
committed
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

+2-1
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

+1-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)