diff --git a/crates/tauri-bundler/src/bundle/linux/appimage.rs b/crates/tauri-bundler/src/bundle/linux/appimage.rs index c76850b25cee..f4e2881f9ed2 100644 --- a/crates/tauri-bundler/src/bundle/linux/appimage.rs +++ b/crates/tauri-bundler/src/bundle/linux/appimage.rs @@ -63,7 +63,7 @@ pub fn bundle_project(settings: &Settings) -> crate::Result> { .local_tools_directory() .map(|d| d.join(".tauri")) .unwrap_or_else(|| { - dirs::cache_dir().map_or_else(|| output_path.to_path_buf(), |mut p| p.join("tauri")) + dirs::cache_dir().map_or_else(|| output_path.to_path_buf(), |p| p.join("tauri")) }); std::fs::create_dir_all(&tauri_tools_path)?;