From e362382cae7fca6f14b0106cd0ff3f49e7b6a4f3 Mon Sep 17 00:00:00 2001 From: Djkato Date: Mon, 10 Jul 2023 00:58:41 +0200 Subject: [PATCH] fix open config command, just default to open in notepad --- src/main.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index b0b9737..eb0d54f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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) => (),