mirror of
https://github.com/Raine-gay/royal_road_archiver.git
synced 2024-11-23 07:38:42 -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.
|
/// Setup html2xhtml in the operating system's temp directory.
|
||||||
pub fn setup_html2xhtml() -> TempDir {
|
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.
|
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.
|
// Compile it on linux for windows like a sane person.
|
||||||
let html2xhtml_dir = match TempDir::new("html2xhtml-windows") {
|
let html2xhtml_dir = match TempDir::new("html2xhtml-windows") {
|
||||||
|
|
Loading…
Reference in a new issue