add option to prefer directlinks

This commit is contained in:
2024-10-03 10:03:40 +02:00
parent 95a81a9306
commit 3ec94fa22d
3 changed files with 5 additions and 2 deletions

View File

@@ -66,7 +66,7 @@ public class ModpackFactory
var releases = await github.Repository.Release.GetAll(repo.Id);
return releases.Select(r => new KeyValuePair<string, string>(r.Name ?? r.TagName, r.TagName)).ToArray();
}
catch (Exception ex)
catch (Exception)
{
}
}