mirror of https://github.com/ppy/osu
Rename to VelopackUpdateManager
This commit is contained in:
parent
d5b52152f4
commit
636ee50eb9
|
@ -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()
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue