DRM: check for valid account, not just any account
This commit is contained in:
parent
13a32a6642
commit
513361df25
@ -1,5 +1,8 @@
|
|||||||
# <img src="./program_info/org.unmojang.FjordLauncher.svg" alt="Fjord Launcher logo" width="96"/> Fjord Launcher
|
# <img src="./program_info/org.unmojang.FjordLauncher.svg" alt="Fjord Launcher logo" width="96"/> Fjord Launcher
|
||||||
|
|
||||||
|
> [!WARNING]
|
||||||
|
> Fjord Launcher is currently under development and is not yet in an easy-to-use state.
|
||||||
|
|
||||||
Fjord Launcher is a **fork** of Prism Launcher. It is **not** endorsed by or affiliated with Prism Launcher.
|
Fjord Launcher is a **fork** of Prism Launcher. It is **not** endorsed by or affiliated with Prism Launcher.
|
||||||
|
|
||||||
## Advantages of this fork over Prism Launcher
|
## Advantages of this fork over Prism Launcher
|
||||||
|
@ -152,7 +152,7 @@ void AccountListPage::on_actionAddMojang_triggered()
|
|||||||
|
|
||||||
void AccountListPage::on_actionAddAuthlibInjector_triggered()
|
void AccountListPage::on_actionAddAuthlibInjector_triggered()
|
||||||
{
|
{
|
||||||
if (m_accounts->count() == 0) {
|
if (!m_accounts->anyAccountIsValid()) {
|
||||||
QMessageBox::warning(this, tr("Error"),
|
QMessageBox::warning(this, tr("Error"),
|
||||||
tr("You must add a Microsoft or Mojang account that owns Minecraft before you can add an account on a custom "
|
tr("You must add a Microsoft or Mojang account that owns Minecraft before you can add an account on a custom "
|
||||||
"authentication server."
|
"authentication server."
|
||||||
@ -192,7 +192,7 @@ void AccountListPage::on_actionAddMicrosoft_triggered()
|
|||||||
|
|
||||||
void AccountListPage::on_actionAddOffline_triggered()
|
void AccountListPage::on_actionAddOffline_triggered()
|
||||||
{
|
{
|
||||||
if (m_accounts->count() == 0) {
|
if (!m_accounts->anyAccountIsValid()) {
|
||||||
QMessageBox::warning(this, tr("Error"),
|
QMessageBox::warning(this, tr("Error"),
|
||||||
tr("You must add a Microsoft or Mojang account that owns Minecraft before you can add an offline account."
|
tr("You must add a Microsoft or Mojang account that owns Minecraft before you can add an offline account."
|
||||||
"<br><br>"
|
"<br><br>"
|
||||||
|
Loading…
Reference in New Issue
Block a user