From 2dcc66040e80b20dcddd86656d3dfe08b34ec8f7 Mon Sep 17 00:00:00 2001 From: CW3MH6 Date: Thu, 3 Nov 2022 13:34:15 -0400 Subject: [PATCH] Update README.md --- README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 4024c9e..0f4dc58 100644 --- a/README.md +++ b/README.md @@ -56,17 +56,14 @@ If you want a single portable executable file, you can either statically link Sc //BEGIN CHANGES //Embed the Sciter.dll file into the exe, and then write it to disk when application starts println!("================ LOADING SCITER DLLL =================="); - let bytes = include_bytes!("..\\sciter.dll"); //since main.rs is in rustdesk/src, we need to go up one level (to rustdesk) - fs::write("sciter.dll", bytes.as_slice()); + let bytes = std::include_bytes!("..\\sciter.dll"); //since main.rs is in rustdesk/src, we need to go up one level (to rustdesk) + std::fs::write("sciter.dll", bytes.as_slice()); //END CHANGES if !common::global_init() { return; } - - //println!("Key: {}", hbb_common::config::RS_PUB_KEY); - //println!("Password: {}", hbb_common::config::RS_PASS); - //println!("Salt: {}", hbb_common::config::RS_SALT); + if let Some(args) = crate::core_main::core_main().as_mut() { ui::start(args); }