From a9bafac1cdf4c8a37901bef44f27b230a9efa643 Mon Sep 17 00:00:00 2001 From: Vlad Loktionov Date: Sat, 3 Sep 2022 18:21:02 +0300 Subject: [PATCH] use the binary variable --- src/client/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/main.cpp b/src/client/main.cpp index 594f11bf..d1f58eea 100644 --- a/src/client/main.cpp +++ b/src/client/main.cpp @@ -63,7 +63,7 @@ void apply_aslr_patch(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 {