1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-24 05:17:46 +00:00

Merge pull request #20 from mariakeating/fix_args

Fixes unencrypted arguments passed to the game executable.
This commit is contained in:
Joshua Goins 2022-03-28 10:25:55 -04:00 committed by GitHub
commit 3b8f66be66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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) {