mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-23 04:57:44 +00:00
Don't disable launching if system Wine isn't installed when using Proton
This commit is contained in:
parent
59a66932e7
commit
c5a6507241
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ DesktopInterface::DesktopInterface(LauncherCore& core) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(Q_OS_LINUX) || defined(Q_OS_MAC)
|
#if defined(Q_OS_LINUX) || defined(Q_OS_MAC)
|
||||||
if (!defaultProfile.isWineInstalled()) {
|
if (!core.isSteam && !defaultProfile.isWineInstalled()) {
|
||||||
auto messageBox = new QMessageBox(window);
|
auto messageBox = new QMessageBox(window);
|
||||||
messageBox->setIcon(QMessageBox::Icon::Critical);
|
messageBox->setIcon(QMessageBox::Icon::Critical);
|
||||||
messageBox->setText("No Wine Found");
|
messageBox->setText("No Wine Found");
|
||||||
|
|
|
@ -376,7 +376,7 @@ void LauncherWindow::reloadControls() {
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(Q_OS_LINUX) || defined(Q_OS_MAC)
|
#if defined(Q_OS_LINUX) || defined(Q_OS_MAC)
|
||||||
if (!currentProfile().isWineInstalled()) {
|
if (!currentProfile().isWineInstalled() && !core.isSteam) {
|
||||||
loginButton->setText("Login (Wine is not installed)");
|
loginButton->setText("Login (Wine is not installed)");
|
||||||
canLogin = false;
|
canLogin = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue