feat(cli): remove UNC path prefix in TAURI_APP_PATH and TAURI_FRONTEND_PATH (#11514)

This commit is contained in:
Alex Adewole
2024-10-28 02:21:42 -07:00
committed by GitHub
parent ac22950f39
commit 1065f632f2

View File

@@ -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> {
@@ -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> {