Skip to content

Commit

Permalink
Don't create Wine prefix path when not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
redstrate committed May 18, 2024
1 parent f5f1434 commit 7eead38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion launcher/src/gamerunner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 7eead38

Please sign in to comment.