about summary refs log tree commit diff
path: root/patches
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-11-16 01:47:45 +0300
committerAzat Bahawi <azat@bahawi.net>2023-11-16 01:47:45 +0300
commit1b39cfb14b608f374208a9483db661ccd1a43230 (patch)
treebe2fefbe6c50f4598a1eb22f8b0a9260726b2c0a /patches
parent2023-11-13 (diff)
2023-11-16
Diffstat (limited to 'patches')
-rw-r--r--patches/prismlauncher-allow-offline-accounts.patch23
1 files changed, 9 insertions, 14 deletions
diff --git a/patches/prismlauncher-allow-offline-accounts.patch b/patches/prismlauncher-allow-offline-accounts.patch
index c245066..4454551 100644
--- a/patches/prismlauncher-allow-offline-accounts.patch
+++ b/patches/prismlauncher-allow-offline-accounts.patch
@@ -1,24 +1,19 @@
 diff --git i/launcher/ui/pages/global/AccountListPage.cpp w/launcher/ui/pages/global/AccountListPage.cpp
-index 278f45c4..b65cbbfb 100644
+index 3a21cdd9..de665694 100644
 --- i/launcher/ui/pages/global/AccountListPage.cpp
 +++ w/launcher/ui/pages/global/AccountListPage.cpp
-@@ -188,19 +188,6 @@ void AccountListPage::on_actionAddMicrosoft_triggered()
+@@ -146,14 +146,6 @@ void AccountListPage::on_actionAddMicrosoft_triggered()
  
  void AccountListPage::on_actionAddOffline_triggered()
  {
 -    if (!m_accounts->anyAccountIsValid()) {
--        QMessageBox::warning(
--            this,
--            tr("Error"),
--            tr(
--                "You must add a Microsoft or Mojang account that owns Minecraft before you can add an offline account."
--                "<br><br>"
--                "If you have lost your account you can contact Microsoft for support."
--            )
--        );
+-        QMessageBox::warning(this, tr("Error"),
+-                             tr("You must add a Microsoft account that owns Minecraft before you can add an offline account."
+-                                "<br><br>"
+-                                "If you have lost your account you can contact Microsoft for support."));
 -        return;
 -    }
 -
-     MinecraftAccountPtr account = OfflineLoginDialog::newAccount(
-         this,
-         tr("Please enter your desired username to add your offline account.")
+     MinecraftAccountPtr account =
+         OfflineLoginDialog::newAccount(this, tr("Please enter your desired username to add your offline account."));
+ 

Consider giving Nix/NixOS a try! <3