1
Fork 0
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:
Joshua Goins 2022-09-06 10:30:23 -04:00
parent 59a66932e7
commit c5a6507241
2 changed files with 2 additions and 2 deletions

View file

@ -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");

View file

@ -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;
} }