Compare commits
3 Commits
2025.1118.
...
37b9f91d42
| Author | SHA1 | Date | |
|---|---|---|---|
| 37b9f91d42 | |||
| 1a5a5606dc | |||
| 87ff1051e9 |
@@ -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!;
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -41,18 +41,17 @@ namespace osu.Game.Utils
|
||||
{
|
||||
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;
|
||||
|
||||
sentrySession = SentrySdk.Init(options =>
|
||||
{
|
||||
options.Dsn = "https://ad9f78529cef40ac874afb95a9aca04e@sentry.ppy.sh/2";
|
||||
options.Dsn = "https://8b67571746af4a07a09558574c7e2227@satellite.jvnko.boats/1";
|
||||
options.AutoSessionTracking = true;
|
||||
options.IsEnvironmentUser = false;
|
||||
options.IsGlobalModeEnabled = true;
|
||||
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 = $"osu@{game.Version.Split('-').First()}";
|
||||
options.Release = $"jvnkosu@{game.Version.Split('-').First()}";
|
||||
});
|
||||
|
||||
Logger.NewEntry += processLogEntry;
|
||||
|
||||
Reference in New Issue
Block a user