1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 11:47:46 +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,6 +177,7 @@ QString GameRunner::getGameArgs(const Profile &profile, const std::optional<Logi
} }
// FIXME: this should belong somewhere else... // FIXME: this should belong somewhere else...
if (LauncherCore::needsCompatibilityTool())
Utility::createPathIfNeeded(profile.winePrefixPath()); Utility::createPathIfNeeded(profile.winePrefixPath());
if (auth) { if (auth) {