Compare commits
3
Commits
c920a8f861
...
3bd7152834
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3bd7152834 | ||
|
|
3f82ec47fc | ||
|
|
878c436e69 |
@@ -179,7 +179,7 @@ pub struct Ti2Metadata {
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub fn parse_ti2_header(app: AppHandle, file_path: String) -> Result<Ti2Metadata, String> {
|
||||
pub fn parse_ti2_header(_app: AppHandle, file_path: String) -> Result<Ti2Metadata, String> {
|
||||
let path = std::path::PathBuf::from(&file_path);
|
||||
if !path.exists() {
|
||||
return Err(format!("File does not exist: {}", file_path));
|
||||
|
||||
@@ -36,7 +36,7 @@ impl ProcessManager {
|
||||
}
|
||||
}
|
||||
let mut command = Command::new(&binary);
|
||||
command.args(args);
|
||||
command.args(&args);
|
||||
if let Some(dir) = cwd {
|
||||
command.current_dir(dir);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user