discord: Update ApplicationID (#6513)

discord: Update ApplicationID (#6513)

АвторTSRBerry
КоммитерGitHub
год назад
Файлов изменено: 1
+9
–9
24068b0
src/Ryujinx.UI.Common/DiscordIntegrationModule.cs
@@ -7,7 +7,7 @@
    public static class DiscordIntegrationModule
    {
        private const string Description = "A simple, experimental Nintendo Switch emulator.";
        private const string CliendId = "568815339807309834";
        private const string ApplicationId = "1216775165866807456";
        private static DiscordRpcClient _discordClient;
        private static RichPresence _discordPresenceMain;
@@ -24,14 +24,14 @@
                Details = "Main Menu",
                State = "Idling",
                Timestamps = Timestamps.Now,
                Buttons = new[]
                {
                Buttons =
                [
                    new Button
                    {
                        Label = "Website",
                        Url   = "https://ryujinx.org/",
                        Url = "https://ryujinx.org/",
                    },
                },
                ],
            };
            ConfigurationState.Instance.EnableDiscordIntegration.Event += Update;
@@ -52,7 +52,7 @@
                // If we need to activate it and the client isn't active, initialize it
                if (evnt.NewValue && _discordClient == null)
                {
                    _discordClient = new DiscordRpcClient(CliendId);
                    _discordClient = new DiscordRpcClient(ApplicationId);
                    _discordClient.Initialize();
                    _discordClient.SetPresence(_discordPresenceMain);
@@ -74,14 +74,14 @@
                Details = $"Playing {titleName}",
                State = (titleId == "0000000000000000"? "Homebrew" : titleId.ToUpper(),
                Timestamps = Timestamps.Now,
                Buttons = new[]
                {
                Buttons =
                [
                    new Button
                    {
                        Label = "Website",
                        Url = "https://ryujinx.org/",
                    },
                },
                ],
            });
        }

GPG верификация

Статус: Неверифицирован

Причина: Не найден публичный ключ

ID ключа: b5690eeebb952194

Cherry-pick

Команда cherry-pick позволяет выбрать отдельные коммиты из одной ветки и применить их к другой.