ver Mar21st

Windows multi_app tasks
This commit is contained in:
David Chang
2024-03-21 15:03:21 +08:00
parent afddeb04ab
commit dac44b2c4f
19 changed files with 1466 additions and 114 deletions

View File

@@ -1,14 +1,14 @@
{
"id": "74d5859f-ed66-4d3e-aa0e-93d7a592ce41",
"snapshot": "chrome",
"instruction": "Help me to set up an initial web extension project with help of the web tool, tagging it \"happy-extension v0.0.1\". Leave description blank for now. Include a background script and browser action, while other features are not required. Remember to unzip the auto-generated folder into \"~/Projects\".",
"instruction": "Help me to set up an initial web extension project with help of the web tool, tagging it \"happy-extension v0.0.1\". Leave description blank for now. Include a background script and browser action, while other features are not required. Remember to unzip the auto-generated folder into \"Documents\\Projects\".",
"source": "authors",
"config": [
{
"type": "launch",
"parameters": {
"command": [
"google-chrome",
"C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
"--remote-debugging-port=1337"
]
}
@@ -17,9 +17,8 @@
"type": "launch",
"parameters": {
"command": [
"socat",
"tcp-listen:9222,fork",
"tcp:localhost:1337"
"ncat.exe", "-k", "-l", "0.0.0.0", "9222",
"--sh-exec", "ncat.exe 127.0.0.1 1337"
]
}
},
@@ -34,19 +33,16 @@
{
"type": "execute",
"parameters": {
"command": [
"mkdir",
"-p",
"/home/user/Projects"
]
"command": "mkdir C:\\Users\\chenj\\Documents\\Projects",
"shell": "true"
}
},
{
"type": "launch",
"parameters": {
"command": [
"nautilus",
"/home/user/Projects"
"explorer.exe",
"C:\\Users\\chenj\\Documents\\Projects"
]
}
}
@@ -67,27 +63,27 @@
"result": [
{
"type": "vm_file",
"path": "/home/user/Projects/happy-extension/manifest.json",
"path": "C:\\Users\\chenj\\Documents\\Projects\\happy-extension\\manifest.json",
"dest": "manifest.json"
},
{
"type": "vm_file",
"path": "/home/user/Projects/happy-extension/background_script.js",
"path": "C:\\Users\\chenj\\Documents\\Projects\\happy-extension\\background_script.js",
"dest": "background_script.js"
},
{
"type": "vm_file",
"path": "/home/user/Projects/happy-extension/browserAction/index.html",
"path": "C:\\Users\\chenj\\Documents\\Projects\\happy-extension\\browserAction\\index.html",
"dest": "index.html"
},
{
"type": "vm_file",
"path": "/home/user/Projects/happy-extension/browserAction/style.css",
"path": "C:\\Users\\chenj\\Documents\\Projects\\happy-extension\\browserAction\\style.css",
"dest": "style.css"
},
{
"type": "vm_file",
"path": "/home/user/Projects/happy-extension/browserAction/script.js",
"path": "C:\\Users\\chenj\\Documents\\Projects\\happy-extension\\browserAction\\script.js",
"dest": "script.js"
}
],