1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 23:52:57 +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 osu.Framework.Allocation;
using osu.Framework.Graphics;
@ -119,7 +122,9 @@ namespace osu.Desktop.Overlays
this.updateManager = updateManager;
}
protected override Notification CreateCompletionNotification() => new ProgressCompletionNotification
protected override Notification CreateCompletionNotification()
{
return new ProgressCompletionNotification
{
Text = @"Update ready to install. Click to restart!",
Activated = () =>
@ -129,6 +134,7 @@ namespace osu.Desktop.Overlays
return true;
}
};
}
[BackgroundDependencyLoader]
private void load(OsuColour colours, OsuGame game)