1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 01:23:44 +08:00

use fa_download for updates instead of fa_upload

This commit is contained in:
Liam DeVoe 2023-07-16 15:21:15 -04:00
parent 361ae15824
commit 6200e207d2
3 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
#nullable disable #nullable disable
@ -47,7 +47,7 @@ namespace osu.Game.Updater
{ {
Text = $"A newer release of osu! has been found ({version} → {latestTagName}).\n\n" Text = $"A newer release of osu! has been found ({version} → {latestTagName}).\n\n"
+ "Check with your package manager / provider to bring osu! up-to-date!", + "Check with your package manager / provider to bring osu! up-to-date!",
Icon = FontAwesome.Solid.Upload, Icon = FontAwesome.Solid.Download,
}); });
return true; return true;

View File

@ -1,4 +1,4 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
#nullable disable #nullable disable
@ -54,7 +54,7 @@ namespace osu.Game.Updater
{ {
Text = $"A newer release of osu! has been found ({version} → {latestTagName}).\n\n" Text = $"A newer release of osu! has been found ({version} → {latestTagName}).\n\n"
+ "Click here to download the new version, which can be installed over the top of your existing installation", + "Click here to download the new version, which can be installed over the top of your existing installation",
Icon = FontAwesome.Solid.Upload, Icon = FontAwesome.Solid.Download,
Activated = () => Activated = () =>
{ {
host.OpenUrlExternally(getBestUrl(latest)); host.OpenUrlExternally(getBestUrl(latest));

View File

@ -134,7 +134,7 @@ namespace osu.Game.Updater
{ {
Anchor = Anchor.Centre, Anchor = Anchor.Centre,
Origin = Anchor.Centre, Origin = Anchor.Centre,
Icon = FontAwesome.Solid.Upload, Icon = FontAwesome.Solid.Download,
Size = new Vector2(34), Size = new Vector2(34),
Colour = OsuColour.Gray(0.2f), Colour = OsuColour.Gray(0.2f),
Depth = float.MaxValue, Depth = float.MaxValue,