mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-22 20:47:45 +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 (!defaultProfile.isWineInstalled()) {
|
||||
if (!core.isSteam && !defaultProfile.isWineInstalled()) {
|
||||
auto messageBox = new QMessageBox(window);
|
||||
messageBox->setIcon(QMessageBox::Icon::Critical);
|
||||
messageBox->setText("No Wine Found");
|
||||
|
|
|
@ -376,7 +376,7 @@ void LauncherWindow::reloadControls() {
|
|||
}
|
||||
|
||||
#if defined(Q_OS_LINUX) || defined(Q_OS_MAC)
|
||||
if (!currentProfile().isWineInstalled()) {
|
||||
if (!currentProfile().isWineInstalled() && !core.isSteam) {
|
||||
loginButton->setText("Login (Wine is not installed)");
|
||||
canLogin = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue