mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-29 12:22:44 +08:00
fix: 修复启动 wt 报错的 bug
This commit is contained in:
parent
a5fd52e79d
commit
6948ffcbbc
@ -19,11 +19,11 @@
|
||||
]
|
||||
},
|
||||
"program": "quickcommand",
|
||||
"cmd": "var currentFolder = \"{{pwd}}\"\nvar home = utools.getPath('home')\nvar wt = path.join(home, '/AppData/Local/Microsoft/WindowsApps/wt.exe')\nchild_process.exec(`start \"\" \"${wt}\" -d \"${currentFolder}\"`)",
|
||||
"cmd": "var currentFolder = \"{{pwd}}\"\nvar home = utools.getPath('home')\nvar wt = path.join(home, '/AppData/Local/Microsoft/WindowsApps/wt.exe')\nchild_process.exec(`start \"\" \"${wt}\" -d \"${currentFolder.replace('\\\\', '\\\\\\\\')}\"`)",
|
||||
"output": "ignore",
|
||||
"hasSubInput": false,
|
||||
"scptarg": "",
|
||||
"tags": [
|
||||
"默认"
|
||||
]
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user