mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-22 04:37:46 +00:00
Don't try to update Wine/DXVK if we're using a custom version
In the event that GitHub is down, the game is actually unplayable as the
launcher doesn't allow you to skip updating these components (for now.)
To prevent this, you can use a custom wine you have installed but the
launcher was still erroneously updating it. Now it won't try to update
DXVK/Wine if you don't request it to, although I'm not sure about tying
DXVK to the wine option right now.
(cherry picked from commit ed9b4cfb76
)
This commit is contained in:
parent
322f7492e5
commit
2350f65c5c
1 changed files with 3 additions and 2 deletions
|
@ -38,11 +38,12 @@ QCoro::Task<bool> AssetUpdater::update()
|
||||||
Utility::createPathIfNeeded(m_wineDir);
|
Utility::createPathIfNeeded(m_wineDir);
|
||||||
Utility::createPathIfNeeded(m_dxvkDir);
|
Utility::createPathIfNeeded(m_dxvkDir);
|
||||||
|
|
||||||
if (!co_await checkRemoteCompatibilityToolVersion()) {
|
if (m_profile.wineType() == Profile::WineType::BuiltIn && !co_await checkRemoteCompatibilityToolVersion()) {
|
||||||
co_return false;
|
co_return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!co_await checkRemoteDxvkVersion()) {
|
// TODO: should DXVK be tied to this setting...?
|
||||||
|
if (m_profile.wineType() == Profile::WineType::BuiltIn && !co_await checkRemoteDxvkVersion()) {
|
||||||
co_return false;
|
co_return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue