Fix certificate issue & rustc warning

This commit is contained in:
KingRainbow44
2022-02-04 14:00:00 +01:00
parent 9e9aff93e9
commit aa5cc334ef
2 changed files with 2 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ pub fn run_program(path: String) {
#[tauri::command]
pub fn run_command(command: String) {
// Run the specified command.
let output = if cfg!(target_os = "windows") {
if cfg!(target_os = "windows") {
Command::new("cmd")
.args(["/C", command.as_str()])
.output()