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=14ZEnUNHrIVDvcyF6A6EFgma6LcgPWj1X",
"path": "Desktop/dog_with_background.png"
"path": "/home/user/Desktop/dog_with_background.png"
},
{
"url": "https://drive.google.com/uc?export=download&id=1wq2sjBX8X-SGIEj1GKLGAuQ8BNVYqa0-",
"path": "Desktop/dog_with_background_two_layers.xcf"
"path": "/home/user/Desktop/dog_with_background_two_layers.xcf"
}
]
}
@@ -24,7 +24,7 @@
"parameters": {
"command": [
"gimp",
"Desktop/dog_with_background_two_layers.xcf"
"/home/user/Desktop/dog_with_background_two_layers.xcf"
]
}
}
@@ -87,12 +87,12 @@
"func": "check_image_size_and_structure_sim",
"expected":{
"type": "vm_file",
"path": "Desktop/dog_with_background.png",
"path": "/home/user/Desktop/dog_with_background.png",
"dest": "dog_with_background.png"
},
"result": {
"type": "vm_file",
"path": "Desktop/resized.png",
"path": "/home/user/Desktop/resized.png",
"dest": "resized.png"
}
}