From 1b0b9b57b396fe8a58aff7fc5f054cf7729495fd Mon Sep 17 00:00:00 2001 From: NA Date: Fri, 26 Jan 2024 15:46:10 +0000 Subject: [PATCH] Fixed windows fs path on setup_html2xhtml --- src/file_system_crap.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/file_system_crap.rs b/src/file_system_crap.rs index af5180c..ec71861 100644 --- a/src/file_system_crap.rs +++ b/src/file_system_crap.rs @@ -30,7 +30,7 @@ pub fn remove_illegal_chars(mut string: String) -> String { /// Setup html2xhtml in the operating system's temp directory. pub fn setup_html2xhtml() -> TempDir { #[cfg(target_os = "windows")] { - const HTML2XHTML: &[u8; 268299] = include_bytes!("../html2xhtml-windows.zip"); + const HTML2XHTML: &[u8; 268299] = include_bytes!(r"..\html2xhtml-windows.zip"); let html2xhtml_dir = match TempDir::new("html2xhtml-windows") { Ok(temp_dir) => temp_dir, Err(error) => {