Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

fix: manual install backend (#8062)

Akarshan Biswas0350e7605bdf
diff --git a/src-tauri/src/core/filesystem/commands.rs b/src-tauri/src/core/filesystem/commands.rs
index 0c34864d5..783281a39 100644
--- a/src-tauri/src/core/filesystem/commands.rs
+++ b/src-tauri/src/core/filesystem/commands.rs
@@ -180,7 +180,7 @@ pub fn decompress<R: Runtime>(
path: &str,
output_dir: &str,
) -> Result<(), String> {
- let (_jan_data_folder, path_buf) = resolve_app_path_within_jan_data_folder(app.clone(), path)?;
+ let path_buf = std::path::PathBuf::from(path);
let (_jan_data_folder, output_dir_buf) =
resolve_app_path_within_jan_data_folder(app, output_dir)?;