From 86854b0715f5c89e324dbc4572e77ad322cee0fc Mon Sep 17 00:00:00 2001 From: CW3MH6 Date: Thu, 3 Nov 2022 13:34:27 -0400 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0f4dc58..9a7b9c6 100644 --- a/README.md +++ b/README.md @@ -37,8 +37,8 @@ If you want a single portable executable file, you can either statically link Sc 1. Copy sciter.dll to your project root directory (where Cargo.toml resides) 2. Add the following lines into ```fn main()``` in src/main.rs (around line 23 or so) ``` - let bytes = include_bytes!("..\\sciter.dll"); - fs::write("sciter.dll", bytes.as_slice()); + let bytes = std::include_bytes!("..\\sciter.dll"); + std::fs::write("sciter.dll", bytes.as_slice()); ``` Note: Do not remove the "..\\" as main.rs resides in */rustdesk/src*, and will not be able to find the file otherwise. Alternatively you can put ```sciter.dll``` in */rustdesk/src*