1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-05-17 14: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 0cefc46e1b
commit 56f857e863

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