1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-06-08 15:07:45 +00:00

Fixes unencrypted arguments passed to the game executable.

Currently, the launcher dumps gameArgs without spaces, resulting in a buggy launch.
This commit is contained in:
Maria Keating 2022-03-28 20:24:24 +08:00
parent 5d0e8936ee
commit 5b7e4d17e0

View file

@ -159,7 +159,7 @@ void LauncherCore::launchGame(const ProfileSettings& profile, const LoginAuth au
});
}
const QString argFormat = profile.encryptArguments ? " /%1 =%2" : "%1=%2";
const QString argFormat = profile.encryptArguments ? " /%1 =%2" : " %1=%2";
QString argJoined;
for(const auto& arg : gameArgs) {