fix open config command, just default to open in notepad

This commit is contained in:
Djkato 2023-07-10 00:58:41 +02:00
parent bb8c4a9cda
commit e362382cae

View file

@ -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) => (),