1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-24 21:37:46 +00:00

If wine is not installed, disable login

This commit is contained in:
Joshua Goins 2022-04-09 17:30:19 -04:00
parent 7b2a0ca1c2
commit 6462895033

View file

@ -318,6 +318,10 @@ void LauncherWindow::reloadControls() {
loginButton->setText("Login");
} else if(!core.squareLauncher->isGateOpen) {
loginButton->setText("Login (Maintenance is in progress)");
#if defined(Q_OS_LINUX) || defined(Q_OS_MAC)
} else if(!currentProfile().isWineInstalled()) {
loginButton->setText("Login (Wine is not installed)");
#endif
} else {
loginButton->setText("Login (Game is not installed)");
}