Skip to content

Commit 1821761

Browse files
fix: rename
1 parent 0e54362 commit 1821761

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src-tauri/src/cmd/system.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pub fn run_program(path: String, args: Option<String>) -> Result<String, Box<dyn
2424
}
2525

2626
#[cfg(not(target_os = "windows"))]
27-
pub fn run_program1(path: String, args: Option<String>) -> Result<String, Box<dyn Error>> {
27+
pub fn run_program(path: String, args: Option<String>) -> Result<String, Box<dyn Error>> {
2828
let cmd_str = format!("-c open {} {}", path, args.map_or("".to_string(), |s| s));
2929
let output = Command::new("bash").arg(cmd_str).output()?;
3030
return_output(output)

0 commit comments

Comments
 (0)