Skip to content

Instantly share code, notes, and snippets.

@0x1d107
Created June 28, 2023 08:25
Show Gist options
  • Select an option

  • Save 0x1d107/3107a8ba9fb8c767ab0b695cba9e6a47 to your computer and use it in GitHub Desktop.

Select an option

Save 0x1d107/3107a8ba9fb8c767ab0b695cba9e6a47 to your computer and use it in GitHub Desktop.
diff --git a/launcher/ui/pages/global/AccountListPage.cpp b/launcher/ui/pages/global/AccountListPage.cpp
index 278f45c4..0ca0de7d 100644
--- a/launcher/ui/pages/global/AccountListPage.cpp
+++ b/launcher/ui/pages/global/AccountListPage.cpp
@@ -198,7 +198,7 @@ void AccountListPage::on_actionAddOffline_triggered()
"If you have lost your account you can contact Microsoft for support."
)
);
- return;
+ //return;
}
MinecraftAccountPtr account = OfflineLoginDialog::newAccount(
@0x1d107
Copy link
Author

0x1d107 commented Jul 15, 2023

Or just revert commit e0a04c50316089b9a443355394c5babf39a1771d
Or use echo '{"accounts": [{"entitlement": {"canPlayMinecraft": true,"ownsMinecraft": true},"type": "Offline"}],"formatVersion": 3}' > ~/.local/share/PrismLauncher/accounts.json
Or use (flatpack version) echo '{"accounts": [{"entitlement": {"canPlayMinecraft": true,"ownsMinecraft": true},"type": "Offline"}],"formatVersion": 3}' > ~/.var/app/org.prismlauncher.PrismLauncher/data/PrismLauncher/accounts.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment