3 Commits

3 changed files with 4 additions and 16 deletions

View File

@@ -29,7 +29,7 @@ namespace osu.Desktop
{ {
internal partial class DiscordRichPresence : Component internal partial class DiscordRichPresence : Component
{ {
private const string client_id = "1216669957799018608"; private const string client_id = "1440647613358800918";
private DiscordRpcClient client = null!; 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. // make sure the release stream setting matches the build which was just run.
if (FixedReleaseStream != null) if (FixedReleaseStream != null)
config.SetValue(OsuSetting.ReleaseStream, FixedReleaseStream.Value); 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. // debug / local compilations will reset to a non-release string.

View File

@@ -41,18 +41,17 @@ namespace osu.Game.Utils
{ {
this.game = game; this.game = game;
if (!game.IsDeployedBuild || !game.CreateEndpoints().WebsiteUrl.EndsWith(@".ppy.sh", StringComparison.Ordinal)) if (!game.IsDeployedBuild || !game.CreateEndpoints().WebsiteUrl.EndsWith(@".jvnko.boats", StringComparison.Ordinal))
return; return;
sentrySession = SentrySdk.Init(options => sentrySession = SentrySdk.Init(options =>
{ {
options.Dsn = "https://ad9f78529cef40ac874afb95a9aca04e@sentry.ppy.sh/2"; options.Dsn = "https://8b67571746af4a07a09558574c7e2227@satellite.jvnko.boats/1";
options.AutoSessionTracking = true; options.AutoSessionTracking = true;
options.IsEnvironmentUser = false; options.IsEnvironmentUser = false;
options.IsGlobalModeEnabled = true; options.IsGlobalModeEnabled = true;
options.CacheDirectoryPath = storage?.GetFullPath(string.Empty); options.CacheDirectoryPath = storage?.GetFullPath(string.Empty);
// The reported release needs to match version as reported to Sentry in .github/workflows/sentry-release.yml options.Release = $"jvnkosu@{game.Version.Split('-').First()}";
options.Release = $"osu@{game.Version.Split('-').First()}";
}); });
Logger.NewEntry += processLogEntry; Logger.NewEntry += processLogEntry;