mirror of
https://github.com/Raine-gay/royal_road_archiver.git
synced 2024-11-14 11:28:43 -06:00
Forgot to turn the conditional compilation flag back to windows.
This commit is contained in:
parent
ef9cd3a0e5
commit
ceffdc75cb
|
@ -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") {
|
||||
|
|
Loading…
Reference in a new issue