fix Desktop path error, revise main.py and update google writer tutorial

This commit is contained in:
rhythmcao
2024-02-06 21:45:03 +08:00
parent df5594b645
commit 8b42d699af
61 changed files with 201 additions and 191 deletions

View File

@@ -10,11 +10,11 @@
"files": [
{
"url": "https://drive.google.com/uc?export=download&id=18r4e9FqlMqqD1ltiHRixZkE_Jc865wgb",
"path": "Desktop/white_background_with_object.xcf"
"path": "/home/user/Desktop/white_background_with_object.xcf"
},
{
"url": "https://drive.google.com/uc?export=download&id=1D9rLa3XDEk5warlI0jVxcbixyr8SQm_C",
"path": "Desktop/white_background_with_object.png"
"path": "/home/user/Desktop/white_background_with_object.png"
}
]
}
@@ -24,7 +24,7 @@
"parameters": {
"command": [
"gimp",
"Desktop/white_background_with_object.xcf"
"/home/user/Desktop/white_background_with_object.xcf"
]
}
}
@@ -87,12 +87,12 @@
"func": "check_green_background",
"expected": {
"type": "vm_file",
"path": "Desktop/white_background_with_object.png",
"path": "/home/user/Desktop/white_background_with_object.png",
"dest": "white_background_with_object.png"
},
"result": {
"type": "vm_file",
"path": "Desktop/green_background_with_object.png",
"path": "/home/user/Desktop/green_background_with_object.png",
"dest": "green_background_with_object.png"
}
}