Remove github token variable & pass null for the github token

This commit is contained in:
smallketchup82 2024-09-02 01:23:05 -04:00 committed by GitHub
parent b990af6ada
commit 42e1168b35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -27,8 +27,7 @@ public partial class VelopackUpdateManager : Game.Updater.UpdateManager
public VelopackUpdateManager()
{
const string? github_token = null; // TODO: populate.
updateManager = new UpdateManager(new GithubSource(@"https://github.com/ppy/osu", github_token, false), new UpdateOptions
updateManager = new UpdateManager(new GithubSource(@"https://github.com/ppy/osu", null, false), new UpdateOptions
{
AllowVersionDowngrade = true
});