fix open config command, just default to open in notepad
This commit is contained in:
parent
bb8c4a9cda
commit
e362382cae
1 changed files with 4 additions and 1 deletions
|
@ -139,7 +139,10 @@ fn main() {
|
||||||
exit(0)
|
exit(0)
|
||||||
}
|
}
|
||||||
tray_icon::Message::OpenOptionsFile => {
|
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) => (),
|
Err(_err) => (),
|
||||||
|
|
Loading…
Reference in a new issue