diff --git a/launcher/src/gamerunner.cpp b/launcher/src/gamerunner.cpp index da84258..1f569ba 100644 --- a/launcher/src/gamerunner.cpp +++ b/launcher/src/gamerunner.cpp @@ -186,6 +186,9 @@ void GameRunner::launchExecutable(const Profile &profile, QProcess *process, con const QDir system32 = windows.absoluteFilePath(QStringLiteral("system32")); for (const auto &entry : dxvk64Dir.entryInfoList(QDir::Files | QDir::NoDotAndDotDot)) { + if (QFile::exists(system32.absoluteFilePath(entry.fileName()))) { + QFile::remove(system32.absoluteFilePath(entry.fileName())); + } QFile::copy(entry.absoluteFilePath(), system32.absoluteFilePath(entry.fileName())); } #endif