Rename to VelopackUpdateManager

This commit is contained in:
Dan Balasescu 2024-08-31 23:03:10 +09:00
parent d5b52152f4
commit 636ee50eb9
No known key found for this signature in database
2 changed files with 3 additions and 4 deletions

View File

@ -100,7 +100,7 @@ protected override UpdateManager CreateUpdateManager()
if (!string.IsNullOrEmpty(packageManaged))
return new NoActionUpdateManager();
return new VeloUpdateManager();
return new VelopackUpdateManager();
}
public override bool RestartAppWhenExited()

View File

@ -11,11 +11,10 @@
using osu.Game.Screens.Play;
using Velopack;
using Velopack.Sources;
using UpdateManager = Velopack.UpdateManager;
namespace osu.Desktop.Updater
{
public partial class VeloUpdateManager : Game.Updater.UpdateManager
public partial class VelopackUpdateManager : Game.Updater.UpdateManager
{
private readonly UpdateManager updateManager;
private INotificationOverlay notificationOverlay = null!;
@ -26,7 +25,7 @@ public partial class VeloUpdateManager : Game.Updater.UpdateManager
[Resolved]
private ILocalUserPlayInfo? localUserInfo { get; set; }
public VeloUpdateManager()
public VelopackUpdateManager()
{
const string? github_token = null; // TODO: populate.
updateManager = new UpdateManager(new GithubSource(@"https://github.com/ppy/osu", github_token, false), new UpdateOptions