Update README.md

This commit is contained in:
CW3MH6 2022-11-03 13:34:15 -04:00 committed by GitHub
parent f2cf444b3f
commit 2dcc66040e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}