diff --git a/crates/tauri-cli/src/helpers/app_paths.rs b/crates/tauri-cli/src/helpers/app_paths.rs index 6c5b5da5aac0..b20b991ef368 100644 --- a/crates/tauri-cli/src/helpers/app_paths.rs +++ b/crates/tauri-cli/src/helpers/app_paths.rs @@ -79,6 +79,7 @@ fn env_tauri_app_path() -> Option { .ok()? .canonicalize() .ok() + .map(|p| dunce::simplified(&p).to_path_buf()) } fn env_tauri_frontend_path() -> Option { @@ -87,6 +88,7 @@ fn env_tauri_frontend_path() -> Option { .ok()? .canonicalize() .ok() + .map(|p| dunce::simplified(&p).to_path_buf()) } pub fn resolve_tauri_dir() -> Option {