mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-02-16 10:40:46 +00:00
Small edit
This commit is contained in:
@@ -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()) {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user