diff --git a/launcher/pages/global/AccountListPage.cpp b/launcher/pages/global/AccountListPage.cpp index a3cd86a4..286bbeec 100644 --- a/launcher/pages/global/AccountListPage.cpp +++ b/launcher/pages/global/AccountListPage.cpp @@ -69,6 +69,12 @@ AccountListPage::AccountListPage(QWidget *parent) connect(m_accounts.get(), &AccountList::activeAccountChanged, this, &AccountListPage::listChanged); updateButtonStates(); + + // Xbox authentication won't work without a client identifier, so disable the button + // if the build didn't specify one (GH-4012) + if (BuildConfig.MSA_CLIENT_ID.isEmpty()) { + ui->actionAddMicrosoft->setEnabled(false); + } } AccountListPage::~AccountListPage()