Skip to content

Commit 3601ddb

Browse files
author
naibo
committed
New startup shell for sandbox
1 parent 728a5cb commit 3601ddb

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.temp_to_pub/EasySpider_Linux_x64/easy-spider.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ if [ "$os_name" == "Ubuntu" ] && [ "$major_version" -gt 24 ] || { [ "$major_vers
3434
sudo chown root:root "./EasySpider/resources/app/chrome_linux64/chrome-sandbox"
3535
sudo chmod 4755 "./EasySpider/resources/app/chrome_linux64/chrome-sandbox"
3636
fi
37+
else
38+
echo "如果报错“The SUID sandbox helper binary was found, but is not configured correctly”,请尝试执行以下命令后再次运行EasySpider:"
39+
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:"
40+
echo "sudo chown root:root ./EasySpider/chrome-sandbox"
41+
echo "sudo chmod 4755 ./EasySpider/chrome-sandbox"
42+
echo "sudo chown root:root ./EasySpider/resources/app/chrome_linux64/chrome-sandbox"
43+
echo "sudo chmod 4755 ./EasySpider/resources/app/chrome_linux64/chrome-sandbox"
3744
fi
3845

3946

ExecuteStage/.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"justMyCode": false,
1313
// "args": ["--ids", "[7]", "--read_type", "remote", "--headless", "0"]
1414
// "args": ["--ids", "[9]", "--read_type", "remote", "--headless", "0", "--saved_file_name", "YOUTUBE"]
15-
"args": ["--ids", "[3]", "--headless", "0", "--user_data", "0", "--keyboard", "0",
15+
"args": ["--ids", "[5]", "--headless", "0", "--user_data", "0", "--keyboard", "0",
1616
"--read_type", "remote"]
1717
// "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"
1818
}

0 commit comments

Comments
 (0)