1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-08 12:14:12 +08:00

Always log missing official build attribute

This commit is contained in:
Dan Balasescu
2024-06-26 14:47:58 +09:00
Unverified
parent 3d6a9ccb6d
commit 2e03afb2ed
+4
View File
@@ -8,6 +8,7 @@ using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Humanizer;
@@ -871,6 +872,9 @@ namespace osu.Game
{
base.LoadComplete();
if (RuntimeInfo.EntryAssembly.GetCustomAttribute<OfficialBuildAttribute>() == null)
Logger.Log(NotificationsStrings.NotOfficialBuild.ToString());
var languages = Enum.GetValues<Language>();
var mappings = languages.Select(language =>