Update gimp examples

This commit is contained in:
BlankCheng
2024-01-24 20:22:51 +08:00
parent a4a9fa0817
commit 908f25ad29
7 changed files with 337 additions and 20 deletions

View File

@@ -1,7 +1,7 @@
{
"id": "77b8ab4d-994f-43ac-8930-8ca087d7c4b4",
"snapshot": "gimp",
"instruction": "Could you help me keep my photo on the desktop and rename it export.jpg?",
"instruction": "Could you assist me in placing my photo on the desktop and renaming it to export.jpg?",
"source": "https://superuser.com/questions/1636113/how-to-get-gimp-to-recognize-images-or-pictures-folder-as-the-default-folder-for",
"config": [
{
@@ -16,9 +16,12 @@
}
},
{
"type": "open",
"type": "launch",
"parameters": {
"path": "Desktop/The_Lost_River_Of_Dreams.jpg"
"command": [
"gimp",
"Desktop/The_Lost_River_Of_Dreams.jpg"
]
}
}
],
@@ -28,7 +31,15 @@
],
"evaluator": {
"func": "check_file_exists",
"file_name": "export.png",
"directory": "/home/user/Desktop/"
"expected": {
"type": "vm_file",
"path": "Desktop/The_Lost_River_Of_Dreams.jpg",
"dest": "The_Lost_River_Of_Dreams.jpg"
},
"result": {
"type": "vm_file",
"path": "Desktop/export.jpg",
"dest": "export.png"
}
}
}