Explorar el Código

New startup shell for sandbox

pull/514/head
naibo hace 2 meses
padre
commit
3601ddb14d
Se han modificado 2 ficheros con 8 adiciones y 1 borrados
  1. +7
    -0
      .temp_to_pub/EasySpider_Linux_x64/easy-spider.sh
  2. +1
    -1
      ExecuteStage/.vscode/launch.json

+ 7
- 0
.temp_to_pub/EasySpider_Linux_x64/easy-spider.sh Ver fichero

@ -34,6 +34,13 @@ if [ "$os_name" == "Ubuntu" ] && [ "$major_version" -gt 24 ] || { [ "$major_vers
sudo chown root:root "./EasySpider/resources/app/chrome_linux64/chrome-sandbox"
sudo chmod 4755 "./EasySpider/resources/app/chrome_linux64/chrome-sandbox"
fi
else
echo "如果报错“The SUID sandbox helper binary was found, but is not configured correctly”,请尝试执行以下命令后再次运行EasySpider:"
echo "If you encounter the error message “The SUID sandbox helper binary was found, but is not configured correctly”, please try run the following commands and run EasySpider again:"
echo "sudo chown root:root ./EasySpider/chrome-sandbox"
echo "sudo chmod 4755 ./EasySpider/chrome-sandbox"
echo "sudo chown root:root ./EasySpider/resources/app/chrome_linux64/chrome-sandbox"
echo "sudo chmod 4755 ./EasySpider/resources/app/chrome_linux64/chrome-sandbox"
fi

+ 1
- 1
ExecuteStage/.vscode/launch.json Ver fichero

@ -12,7 +12,7 @@
"justMyCode": false,
// "args": ["--ids", "[7]", "--read_type", "remote", "--headless", "0"]
// "args": ["--ids", "[9]", "--read_type", "remote", "--headless", "0", "--saved_file_name", "YOUTUBE"]
"args": ["--ids", "[3]", "--headless", "0", "--user_data", "0", "--keyboard", "0",
"args": ["--ids", "[5]", "--headless", "0", "--user_data", "0", "--keyboard", "0",
"--read_type", "remote"]
// "args": "--ids '[97]' --user_data 1 --server_address http://localhost:8074 --config_folder '/Users/naibo/Documents/EasySpider/ElectronJS/' --headless 0 --read_type remote --config_file_name config.json --saved_file_name"
}

Cargando…
Cancelar
Guardar