Small edit

This commit is contained in:
Anonymous275
2022-07-17 01:00:55 +03:00
parent 92ff28b92e
commit 027bb6b0d7
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@
void Launcher::LoadConfig() {
if(fs::exists("Launcher.cfg")) {
toml::table config = toml::parse_file("Launcher.cfg");
toml::parse_result config = toml::parse_file("Launcher.cfg");
auto ui = config["UI"];
auto build = config["Build"];
if(ui.is_boolean()) {

View File

@@ -10,7 +10,7 @@ int main(int argc, char* argv[]) {
try {
Launcher launcher(argc, argv);
launcher.RunDiscordRPC();
launcher.LoadConfig();
launcher.LoadConfig(); //check if json (issue)
launcher.CheckKey();
launcher.QueryRegistry();
//UI call