mirror of
https://github.com/Raine-gay/royal_road_archiver.git
synced 2024-11-23 07:38:42 -06:00
Fixed windows fs path on setup_html2xhtml
This commit is contained in:
parent
61036cf037
commit
1b0b9b57b3
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue