Forgot to turn the conditional compilation flag back to windows.

pull/1/head
NA 2024-01-26 18:59:54 +00:00
parent ef9cd3a0e5
commit ceffdc75cb
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,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 = "linux")] {
#[cfg(target_os = "windows")] {
const HTML2XHTML: &[u8; 245025] = include_bytes!("../html2xhtml-windows.zip"); // This will not compile on windows due to this and no I don't give a shit.
// Compile it on linux for windows like a sane person.
let html2xhtml_dir = match TempDir::new("html2xhtml-windows") {