aboutsummaryrefslogtreecommitdiff
path: root/launcher/pages/global
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2021-09-05 18:54:27 +0200
committerPetr Mrázek <peterix@gmail.com>2021-09-05 18:54:27 +0200
commit46468c8f142144bd5c90a7d3e0dffb43f79a9223 (patch)
treeeba6857051973f56195e20d4612768e1c958b18b /launcher/pages/global
parent878c4fb8103bc866e5368fbb7287e94cca190dff (diff)
downloadPrismLauncher-46468c8f142144bd5c90a7d3e0dffb43f79a9223.tar.gz
PrismLauncher-46468c8f142144bd5c90a7d3e0dffb43f79a9223.tar.bz2
PrismLauncher-46468c8f142144bd5c90a7d3e0dffb43f79a9223.zip
NOISSUE block MS account adding on macOS < 10.13 builds
It's never going to work with Qt 5.6, so there's no point. People need to update.
Diffstat (limited to 'launcher/pages/global')
-rw-r--r--launcher/pages/global/AccountListPage.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/launcher/pages/global/AccountListPage.cpp b/launcher/pages/global/AccountListPage.cpp
index f52fa834..74537712 100644
--- a/launcher/pages/global/AccountListPage.cpp
+++ b/launcher/pages/global/AccountListPage.cpp
@@ -128,6 +128,18 @@ void AccountListPage::on_actionAddMojang_triggered()
void AccountListPage::on_actionAddMicrosoft_triggered()
{
+ if(BuildConfig.BUILD_PLATFORM == "osx64") {
+ CustomMessageBox::selectable(
+ this,
+ tr("Microsoft Accounts not available"),
+ tr(
+ "Microsoft accounts are only usable on macOS 10.13 or newer, with fully updated MultiMC.\n\n"
+ "Please update both your operating system and MultiMC."
+ ),
+ QMessageBox::Warning
+ )->exec();
+ return;
+ }
MinecraftAccountPtr account = MSALoginDialog::newAccount(
this,
tr("Please enter your Mojang account email and password to add your account.")