From 40345b93b61030e1b5e8ed20ca2bad398b743405 Mon Sep 17 00:00:00 2001 From: Not-A-Normal-Robot Date: Tue, 22 Oct 2024 18:16:16 +0700 Subject: [PATCH] Reload config after setup --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index fafa153..43ceeb5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -60,6 +60,7 @@ fn main() -> Result<(), slint::PlatformError> { !is_repo_valid(&config.game_repo_path) { run_setup()?; + config = conf::Config::load(); } if config.use_gui {