Update checking and minor tweaks

This commit is contained in:
Anonymous275
2022-01-18 16:20:42 +02:00
parent c9c4159367
commit 674aae6b7c
8 changed files with 103 additions and 34 deletions

View File

@@ -5,15 +5,10 @@
#include <tomlplusplus/toml.hpp>
#include <filesystem>
#include "Launcher.h"
#include "Logger.h"
namespace fs = std::filesystem;
void Launcher::loadConfig() {
void Launcher::LoadConfig() {
if(fs::exists("Launcher.cfg")) {
toml::table config = toml::parse_file("Launcher.cfg");
auto ui = config["UI"];