t7x/src/client/updater/updater.cpp

20 lines
369 B
C++
Raw Normal View History

2023-02-18 13:15:47 -05:00
#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();
}
}