1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 19:57:45 +00:00

Don't create Wine prefix path when not needed

This commit is contained in:
Joshua Goins 2024-05-18 14:30:07 -04:00
parent f5f143466b
commit 7eead380be

View file

@ -177,7 +177,8 @@ QString GameRunner::getGameArgs(const Profile &profile, const std::optional<Logi
}
// FIXME: this should belong somewhere else...
Utility::createPathIfNeeded(profile.winePrefixPath());
if (LauncherCore::needsCompatibilityTool())
Utility::createPathIfNeeded(profile.winePrefixPath());
if (auth) {
if (!auth->lobbyhost.isEmpty()) {