Improve code logic for password & resolution (#252)

* fix chrome

* fix: fix proxy setup

* feat&fix: add proxy support in setup and remove hardcoded proxy from example

* fix tasks

* fix chrome finished

* fix

* clean chrome_fix code

* clean chrome_fix code

* fix chrome 2888b4e6-5b47-4b57-8bf5-c73827890774

* fix multiapps

* fix chrome 2888b4e6-5b47-4b57-8bf5-c73827890774

* fix some multi_apps tasks

* fix some multi_apps tasks

* fix password&resolution

* fix password&resolution

* Improve code logic for password & resolution

* edit

* Merge branch 'main' into fix_chrome

* fix chrome tasks

---------

Co-authored-by: adlsdztony <zzl0712@connect.hku.hk>
This commit is contained in:
Yuan Mengqi
2025-07-13 21:04:07 +08:00
committed by GitHub
parent 97ed6f99b0
commit 38a30734a6
16 changed files with 98 additions and 55 deletions

View File

@@ -7,7 +7,7 @@
{
"type": "command",
"parameters": {
"command": "echo password | sudo -S apt-get update && echo password | sudo -S apt-get install sysstat",
"command": "echo {CLIENT_PASSWORD} | sudo -S apt-get update && echo {CLIENT_PASSWORD} | sudo -S apt-get install sysstat",
"shell": "true"
}
}

View File

@@ -25,7 +25,7 @@
{
"type": "command",
"parameters": {
"command": "echo password | sudo -S apt install xsel && xsel -bc",
"command": "echo {CLIENT_PASSWORD} | sudo -S apt install xsel && xsel -bc",
"shell": "true"
}
}

View File

@@ -61,14 +61,7 @@
{
"type": "command",
"parameters": {
"command": "echo password | sudo -S pip install pysrt",
"shell": "true"
}
},
{
"type": "command",
"parameters": {
"command": "echo osworld-public-evaluation | sudo -S pip install pysrt",
"command": "echo {CLIENT_PASSWORD} | sudo -S pip install pysrt",
"shell": "true"
}
}

View File

@@ -18,7 +18,7 @@
{
"type": "execute",
"parameters": {
"command": "echo password | sudo -S apt-get update -y && echo password | sudo -S apt-get install unzip -y && unzip /home/user/Desktop/helloExtension.zip -d /home/user/Desktop/ && rm /home/user/Desktop/helloExtension.zip",
"command": "echo {CLIENT_PASSWORD} | sudo -S apt-get update -y && echo {CLIENT_PASSWORD} | sudo -S apt-get install unzip -y && unzip /home/user/Desktop/helloExtension.zip -d /home/user/Desktop/ && rm /home/user/Desktop/helloExtension.zip",
"shell": true
}
},