From a1301ae9150ed94d11b0f4e688e32945dfdb4d9e Mon Sep 17 00:00:00 2001 From: James Date: Sat, 27 Jan 2018 15:33:15 +1100 Subject: [PATCH] Use correct app name in application title --- src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index a96501f..c21930e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -33,6 +33,8 @@ static RAW_CONFIG : &'static str = include_str!("../config.toml"); fn main() { let config = Config::from_toml_str(RAW_CONFIG).unwrap(); + let app_name = config.general.name.clone(); + let framework = InstallerFramework::new(config); let server = WebServer::new(framework).unwrap(); @@ -51,7 +53,7 @@ fn main() { let userdata = (); run( - "yuzu Installer", + &format!("{} Installer", app_name), &http_address, Some(size), resizable,