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=1TOtPi1CQsWblGUtQ6AqayfjsPZ_THBJo",
"path": "Desktop/dog_with_background.png"
"path": "/home/user/Desktop/dog_with_background.png"
},
{
"url": "https://drive.google.com/uc?export=download&id=15YWmeOyUaA7vMX9Ts7-qyh82T8mHeepx",
"path": "Desktop/dog_cutout_gold.png"
"path": "/home/user/Desktop/dog_cutout_gold.png"
}
]
}
@@ -24,7 +24,7 @@
"parameters": {
"command": [
"gimp",
"Desktop/dog_with_background.png"
"/home/user/Desktop/dog_with_background.png"
]
}
}
@@ -87,12 +87,12 @@
"func": "check_structure_sim",
"expected": {
"type": "vm_file",
"path": "Desktop/dog_cutout_gold.png",
"path": "/home/user/Desktop/dog_cutout_gold.png",
"dest": "dog_cutout_gold.png"
},
"result": {
"type": "vm_file",
"path": "Desktop/dog_without_background.png",
"path": "/home/user/Desktop/dog_without_background.png",
"dest": "dog_without_background.png"
}
}