2 Commits

Author SHA1 Message Date
37b9f91d42 make discord rich presence work 2025-11-19 14:03:57 +03:00
1a5a5606dc don't log that we're running an unofficial build 2025-11-19 12:02:27 +03:00
2 changed files with 1 additions and 12 deletions

View File

@@ -29,7 +29,7 @@ namespace osu.Desktop
{
internal partial class DiscordRichPresence : Component
{
private const string client_id = "1216669957799018608";
private const string client_id = "1440647613358800918";
private DiscordRpcClient client = null!;

View File

@@ -68,17 +68,6 @@ namespace osu.Game.Updater
// make sure the release stream setting matches the build which was just run.
if (FixedReleaseStream != null)
config.SetValue(OsuSetting.ReleaseStream, FixedReleaseStream.Value);
// nope, doesn't matter, we're already not official
// // notify the user if they're using a build that is not officially sanctioned.
// if (RuntimeInfo.EntryAssembly.GetCustomAttribute<OfficialBuildAttribute>() == null)
// Notifications.Post(new SimpleNotification { Text = NotificationsStrings.NotOfficialBuild });
}
else
{
// log that this is not an official build, for if users build their own game without an assembly version.
// this is only logged because a notification would be too spammy in local test builds.
Logger.Log(NotificationsStrings.NotOfficialBuild.ToString());
}
// debug / local compilations will reset to a non-release string.