Fix updater overwriting game binaries

This fixes #262
This commit is contained in:
momo5502 2023-03-01 19:40:46 +01:00
parent b79744a7e2
commit 8a13480695

View File

@ -8,7 +8,7 @@ namespace updater
{
void run(const std::filesystem::path& base)
{
const utils::nt::library self;
const auto self = utils::nt::library::get_by_address(run);
const auto self_file = self.get_path();
updater_ui updater_ui{};