1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 13:22:55 +08:00

Add licence header to SquirrelUpdateManager

This commit is contained in:
Dean Herbert 2018-03-27 19:19:28 +09:00
parent 75a413a40e
commit 524044d487

View File

@ -1,4 +1,7 @@
#if NET_FRAMEWORK // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
#if NET_FRAMEWORK
using System; using System;
using osu.Framework.Allocation; using osu.Framework.Allocation;
using osu.Framework.Graphics; using osu.Framework.Graphics;
@ -119,7 +122,9 @@ namespace osu.Desktop.Overlays
this.updateManager = updateManager; this.updateManager = updateManager;
} }
protected override Notification CreateCompletionNotification() => new ProgressCompletionNotification protected override Notification CreateCompletionNotification()
{
return new ProgressCompletionNotification
{ {
Text = @"Update ready to install. Click to restart!", Text = @"Update ready to install. Click to restart!",
Activated = () => Activated = () =>
@ -129,6 +134,7 @@ namespace osu.Desktop.Overlays
return true; return true;
} }
}; };
}
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load(OsuColour colours, OsuGame game) private void load(OsuColour colours, OsuGame game)