1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-17 17:33:02 +08:00

Apply NRT

This commit is contained in:
Susko3
2024-02-01 18:38:18 +01:00
Unverified
parent 7cdedfb6ca
commit b0095ee548
+3 -5
View File
@@ -1,8 +1,6 @@
// 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.
#nullable disable
using System;
using System.Linq;
using System.Runtime.InteropServices;
@@ -22,10 +20,10 @@ namespace osu.Game.Updater
/// </summary>
public partial class SimpleUpdateManager : UpdateManager
{
private string version;
private string version = null!;
[Resolved]
private GameHost host { get; set; }
private GameHost host { get; set; } = null!;
[BackgroundDependencyLoader]
private void load(OsuGameBase game)
@@ -76,7 +74,7 @@ namespace osu.Game.Updater
private string getBestUrl(GitHubRelease release)
{
GitHubAsset bestAsset = null;
GitHubAsset? bestAsset = null;
switch (RuntimeInfo.OS)
{