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:
parent
7b2a0ca1c2
commit
6462895033
1 changed files with 4 additions and 0 deletions
|
@ -318,6 +318,10 @@ void LauncherWindow::reloadControls() {
|
||||||
loginButton->setText("Login");
|
loginButton->setText("Login");
|
||||||
} else if(!core.squareLauncher->isGateOpen) {
|
} else if(!core.squareLauncher->isGateOpen) {
|
||||||
loginButton->setText("Login (Maintenance is in progress)");
|
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 {
|
} else {
|
||||||
loginButton->setText("Login (Game is not installed)");
|
loginButton->setText("Login (Game is not installed)");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue