86 lines
2.0 KiB
JSON
86 lines
2.0 KiB
JSON
{
|
|
"id": "3f49d2cc-f400-4e7d-90cc-9b18e401cc31",
|
|
"snapshot": "thunderbird",
|
|
"instruction": "I've got a bunch of email accounts in Thunderbird, and it's a hassle to check them one by one. Can you show me how to set up a unified inbox so I can see all my emails in one place?",
|
|
"source": "https://www.reddit.com/r/Thunderbird/comments/182dg5p/unified_inbox_howto/",
|
|
"config": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://huggingface.co/datasets/xlangai/ubuntu_osworld_file_cache/resolve/main/thunderbird/dd84e895-72fd-4023-a336-97689ded257c/thunderbird-profile.tar.gz",
|
|
"path": "/home/user/thunderbird-profile.tar.gz"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "execute",
|
|
"parameters": {
|
|
"command": [
|
|
"tar",
|
|
"-xzv",
|
|
"--recursive-unlink",
|
|
"-f",
|
|
"/home/user/thunderbird-profile.tar.gz",
|
|
"-C",
|
|
"/home/user/"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "launch",
|
|
"parameters": {
|
|
"command": [
|
|
"/usr/bin/thunderbird"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/",
|
|
"related_apps": [
|
|
"thunderbird"
|
|
],
|
|
"evaluator": {
|
|
"postconfig": [
|
|
{
|
|
"type": "close_window",
|
|
"parameters": {
|
|
"window_name": "Mail.thunderbird",
|
|
"strict": true,
|
|
"by_class": true
|
|
}
|
|
},
|
|
{
|
|
"type": "sleep",
|
|
"parameters": {
|
|
"seconds": 0.5
|
|
}
|
|
}
|
|
],
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "/home/user/.thunderbird/t5q2a5hp.default-release/xulstore.json",
|
|
"dest": "xulstore.json"
|
|
},
|
|
"func": "check_json",
|
|
"expected": {
|
|
"type": "rule",
|
|
"rules": {
|
|
"expect": [
|
|
{
|
|
"key": [
|
|
"chrome://messenger/content/messenger.xhtml",
|
|
"folderTree",
|
|
"mode"
|
|
],
|
|
"method": "re",
|
|
"ref": "\\bsmart\\b"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"proxy": false
|
|
} |