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:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user