From 4cc4d315f00df1c1447b7a5ba3404d3c2000f98c Mon Sep 17 00:00:00 2001 From: Bix Date: Sat, 16 Aug 2025 17:32:18 +0200 Subject: [PATCH] [Frontend] add X links to About and Help (#272) Based off the recent addition of revolt links. Authored-by: Bix bix@bixed.xyz Signed-off-by: Bix bix@bixed.xyz Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/272 Reviewed-by: crueter Co-authored-by: Bix Co-committed-by: Bix --- README.md | 1 + .../org/yuzu/yuzu_emu/fragments/AboutFragment.kt | 1 + src/android/app/src/main/res/drawable/ic_x.xml | 9 +++++++++ .../src/main/res/layout-w600dp/fragment_about.xml | 11 +++++++++++ .../app/src/main/res/layout/fragment_about.xml | 12 ++++++++++++ src/android/app/src/main/res/values/strings.xml | 1 + src/yuzu/main.cpp | 5 +++++ src/yuzu/main.h | 1 + src/yuzu/main.ui | 12 ++++++++++++ 9 files changed, 53 insertions(+) create mode 100644 src/android/app/src/main/res/drawable/ic_x.xml diff --git a/README.md b/README.md index 6bdd0c0f03..70f2c81296 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,7 @@ Check out our [website](https://eden-emu.dev) for the latest news on exciting fe ## Development Most of the development happens on our Git server. It is also where [our central repository](https://git.eden-emu.dev/eden-emu/eden) is hosted. For development discussions, please join us on [Discord](https://discord.gg/kXAmGCXBGD) or [Revolt](https://rvlt.gg/qKgFEAbH). +You can also follow us on [X (Twitter)](https://x.com/edenemuofficial) for updates and announcements. If you would like to contribute, we are open to new developers and pull requests. Please ensure that your work is of a high standard and properly documented. You can also contact any of the developers on Discord or Revolt to learn more about the current state of the emulator. diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/AboutFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/AboutFragment.kt index 6f0493cbf8..88ec13dd4c 100644 --- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/AboutFragment.kt +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/AboutFragment.kt @@ -96,6 +96,7 @@ class AboutFragment : Fragment() { binding.buttonDiscord.setOnClickListener { openLink(getString(R.string.discord_link)) } binding.buttonRevolt.setOnClickListener { openLink(getString(R.string.revolt_link)) } + binding.buttonX.setOnClickListener { openLink(getString(R.string.x_link)) } binding.buttonWebsite.setOnClickListener { openLink(getString(R.string.website_link)) } binding.buttonGithub.setOnClickListener { openLink(getString(R.string.github_link)) } diff --git a/src/android/app/src/main/res/drawable/ic_x.xml b/src/android/app/src/main/res/drawable/ic_x.xml new file mode 100644 index 0000000000..d93c8d6b63 --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_x.xml @@ -0,0 +1,9 @@ + + + diff --git a/src/android/app/src/main/res/layout-w600dp/fragment_about.xml b/src/android/app/src/main/res/layout-w600dp/fragment_about.xml index f6de2f590e..9d9cf10bf8 100644 --- a/src/android/app/src/main/res/layout-w600dp/fragment_about.xml +++ b/src/android/app/src/main/res/layout-w600dp/fragment_about.xml @@ -230,6 +230,17 @@ app:iconSize="24dp" app:iconPadding="0dp" /> + + + + Make sure the user data folders are at the root of the zip folder and contain a config file at config/config.ini and try again. https://discord.gg/kXAmGCXBGD https://rvlt.gg/qKgFEAbH + https://x.com/edenemuofficial https://eden-emu.dev https://git.eden-emu.dev/eden-emu diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 4e0ff685bf..2c3c46114d 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -1764,6 +1764,7 @@ void GMainWindow::ConnectMenuEvents() { connect_menu(ui->action_Discord, &GMainWindow::OnOpenDiscord); connect_menu(ui->action_Revolt, &GMainWindow::OnOpenRevolt); + connect_menu(ui->action_X, &GMainWindow::OnOpenX); connect_menu(ui->action_Verify_installed_contents, &GMainWindow::OnVerifyInstalledContents); connect_menu(ui->action_Firmware_From_Folder, &GMainWindow::OnInstallFirmware); connect_menu(ui->action_Firmware_From_ZIP, &GMainWindow::OnInstallFirmwareFromZIP); @@ -3750,6 +3751,10 @@ void GMainWindow::OnOpenRevolt() { OpenURL(QUrl(QStringLiteral("https://rvlt.gg/qKgFEAbH"))); } +void GMainWindow::OnOpenX() { + OpenURL(QUrl(QStringLiteral("https://x.com/edenemuofficial"))); +} + void GMainWindow::ToggleFullscreen() { if (!emulation_running) { return; diff --git a/src/yuzu/main.h b/src/yuzu/main.h index c7dd2a45fa..8a34a9f075 100644 --- a/src/yuzu/main.h +++ b/src/yuzu/main.h @@ -347,6 +347,7 @@ private slots: void OnOpenFAQ(); void OnOpenDiscord(); void OnOpenRevolt(); + void OnOpenX(); /// Called whenever a user selects a game in the game list widget. void OnGameListLoadFile(QString game_path, u64 program_id); diff --git a/src/yuzu/main.ui b/src/yuzu/main.ui index ac8a2b594e..5f56c9e6d1 100644 --- a/src/yuzu/main.ui +++ b/src/yuzu/main.ui @@ -215,6 +215,7 @@ + @@ -562,6 +563,17 @@ From ZIP + + + &X + + + X (Twitter) + + + + + &Revolt