Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
maddie480 committed Aug 4, 2024
1 parent 53b4ef2 commit e60247a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sharp/CmdUpdateAllMods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ internal static IEnumerable GetAllMirrorUrls(string url, string mirrorPreference
return new EnumeratorEnumerator { Enumerator = getAllMirrorUrls(url, mirrorPreferences) };
}

// Make sure to keep this in sync with
// - https://github.com/EverestAPI/Everest/blob/dev/Celeste.Mod.mm/Mod/Helpers/ModUpdaterHelper.cs :: getAllMirrorUrls
// - https://github.com/maddie480/RandomStuffWebsite/blob/main/front-vue/src/components/ModListItem.vue :: getMirrorLink
private static IEnumerator<string> getAllMirrorUrls(string url, string mirrorPreferences) {
uint gbid = 0;
if ((url.StartsWith("http://gamebanana.com/dl/") && !uint.TryParse(url.Substring("http://gamebanana.com/dl/".Length), out gbid)) ||
Expand Down

0 comments on commit e60247a

Please sign in to comment.