From d77fab8d70dcf425bfa5edb1bc53be6d78f0e209 Mon Sep 17 00:00:00 2001 From: hardliner66 Date: Tue, 8 Oct 2024 23:40:37 +0200 Subject: [PATCH] cli setup --- .vscode/tasks.json | 21 +++++++++++++++++++++ src/bin/log_history.rs | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 .vscode/tasks.json diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..cc96de5 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,21 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "Inno Setup: Compile Script", + "type": "process", + "command": "ISCC.exe", + "args": [ + "setup.iss" + ], + "presentation": { + "reveal": "always", + "echo": false + }, + "group": { + "kind": "build", + "isDefault": true + } + } + ] +} \ No newline at end of file diff --git a/src/bin/log_history.rs b/src/bin/log_history.rs index 88dcc9d..5640594 100644 --- a/src/bin/log_history.rs +++ b/src/bin/log_history.rs @@ -123,7 +123,7 @@ fn draw(app: &mut App, gfx: &mut Graphics, plugins: &mut Plugins, state: &mut St if label.clicked() { if let Some(child) = state.open_files.get_mut(&log.path) { if let Ok(Some(_)) = child.try_wait() { - *child = Command::new("fast_log_viewer.exe") + *child = Command::new("c:/tools/fast_log_viewer.exe") .arg(&path_text) .spawn() .unwrap();