cli setup
This commit is contained in:
parent
e8ac6c60f1
commit
d77fab8d70
|
|
@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -123,7 +123,7 @@ fn draw(app: &mut App, gfx: &mut Graphics, plugins: &mut Plugins, state: &mut St
|
||||||
if label.clicked() {
|
if label.clicked() {
|
||||||
if let Some(child) = state.open_files.get_mut(&log.path) {
|
if let Some(child) = state.open_files.get_mut(&log.path) {
|
||||||
if let Ok(Some(_)) = child.try_wait() {
|
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)
|
.arg(&path_text)
|
||||||
.spawn()
|
.spawn()
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue