t7x/src/client/updater/updater.cpp
2023-02-18 19:15:47 +01:00

20 lines
369 B
C++

#include <std_include.hpp>
#include "updater.hpp"
#include "updater_ui.hpp"
#include "file_updater.hpp"
namespace updater
{
void run(const std::filesystem::path& base)
{
const utils::nt::library self;
const auto self_file = self.get_path();
updater_ui updater_ui{};
const file_updater file_updater{updater_ui, base, self_file};
file_updater.run();
}
}