Fix minor errors in vscode and gimp about path and postconfig

This commit is contained in:
Timothyxxx
2024-01-31 12:48:11 +08:00
parent e90bad645b
commit 91fe4a0078
3 changed files with 41 additions and 1 deletions

View File

@@ -18,7 +18,10 @@
{
"type": "launch",
"parameters": {
"command": ["code", "/home/user/Desktop/vscode_replace_text.txt"]
"command": [
"code",
"/home/user/Desktop/vscode_replace_text.txt"
]
}
},
{
@@ -33,6 +36,36 @@
"vscode"
],
"evaluator": {
"postconfig": [
{
"type": "activate_window",
"parameters": {
"window_name": "Visual Studio Code"
}
},
{
"type": "sleep",
"parameters": {
"seconds": 0.5
}
},
{
"type": "execute",
"parameters": {
"command": [
"python",
"-c",
"import pyautogui; pyautogui.hotkey('ctrl', 's');"
]
}
},
{
"type": "sleep",
"parameters": {
"seconds": 0.5
}
}
],
"func": "compare_text_file",
"expected": {
"type": "cloud_file",