1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-05-11 20:47:45 +00:00

Note in the Wine version text if Astra will download it

The text "Wine is not installed." could be misleading. If it's managed
by Astra, say that it will be installed when you next launch the game
instead.
This commit is contained in:
Joshua Goins 2025-05-05 15:54:00 -04:00
parent d09f2d2418
commit e70aeb3b6a

View file

@ -250,7 +250,11 @@ QString Profile::uuid() const
QString Profile::wineVersionText() const
{
if (!isWineInstalled()) {
return i18n("Wine is not installed.");
if (config()->wineType() == Profile::WineType::BuiltIn) {
return i18n("Wine will be installed when you launch the game.");
} else {
return i18n("Wine is not installed.");
}
} else {
return m_wineVersion;
}