Merge pull request #251 from VladWinner/filesystem-and-mods

use the binary variable
This commit is contained in:
fed 2022-09-03 19:03:29 +00:00 committed by GitHub
commit e23bcc3c22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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