Skip to content

Commit

Permalink
feat(cli): remove UNC path prefix in TAURI_APP_PATH and `TAURI_FRON…
Browse files Browse the repository at this point in the history
…TEND_PATH` (#11514)
  • Loading branch information
bizarre authored Oct 28, 2024
1 parent ac22950 commit 1065f63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/tauri-cli/src/helpers/app_paths.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ fn env_tauri_app_path() -> Option<PathBuf> {
.ok()?
.canonicalize()
.ok()
.map(|p| dunce::simplified(&p).to_path_buf())
}

fn env_tauri_frontend_path() -> Option<PathBuf> {
Expand All @@ -87,6 +88,7 @@ fn env_tauri_frontend_path() -> Option<PathBuf> {
.ok()?
.canonicalize()
.ok()
.map(|p| dunce::simplified(&p).to_path_buf())
}

pub fn resolve_tauri_dir() -> Option<PathBuf> {
Expand Down

0 comments on commit 1065f63

Please sign in to comment.