Skip to content

Commit

Permalink
fix open config command, just default to open in notepad
Browse files Browse the repository at this point in the history
  • Loading branch information
djkato committed Jul 9, 2023
1 parent bb8c4a9 commit e362382
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,10 @@ fn main() {
exit(0)
}
tray_icon::Message::OpenOptionsFile => {
let _ = std::process::Command::new("crp_config.toml").spawn();
let _ = std::process::Command::new("notepad")
.arg("drp_config.toml")
.current_dir("./")
.spawn();
}
},
Err(_err) => (),
Expand Down

0 comments on commit e362382

Please sign in to comment.