mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Fix rust windows compiler issues
This commit is contained in:
@@ -219,7 +219,9 @@ impl BundleInfo<'_> {
|
||||
|
||||
// on windows, the zip paths are / and should be \ instead
|
||||
#[cfg(target_os = "windows")]
|
||||
let file_path_on_disk = file_path_on_disk.normalize_virtually();
|
||||
let file_path_on_disk = file_path_on_disk.normalize_virtually()?;
|
||||
#[cfg(target_os = "windows")]
|
||||
let file_path_on_disk = file_path_on_disk.as_path();
|
||||
|
||||
debug!(" {} Extracting '{}' to '{}'", i, key, file_path_on_disk.to_string_lossy());
|
||||
self.extract_zip_idx_to_path(i, &file_path_on_disk)?;
|
||||
|
||||
@@ -6,7 +6,7 @@ use std::{
|
||||
};
|
||||
use winsafe::{self as w, co, prelude::*};
|
||||
|
||||
use super::bundle::Manifest;
|
||||
use super::bundle::{self, Manifest, EntryNameInfo};
|
||||
|
||||
pub fn wait_for_parent_to_exit(ms_to_wait: u32) -> Result<()> {
|
||||
info!("Reading parent process information.");
|
||||
|
||||
Reference in New Issue
Block a user