use the binary variable

This commit is contained in:
Vlad Loktionov 2022-09-03 18:21:02 +03:00
parent 9369618b9c
commit a9bafac1cd

View File

@ -63,7 +63,7 @@ void apply_aslr_patch(std::string* data)
void get_aslr_patched_binary(std::string* binary, std::string* data) void get_aslr_patched_binary(std::string* binary, std::string* data)
{ {
const auto patched_binary = (utils::properties::get_appdata_path() / "bin/h1_mp64_ship.exe"s).generic_string(); const auto patched_binary = (utils::properties::get_appdata_path() / "bin" / *binary).generic_string();
try try
{ {