mirror of
https://github.com/NaiboWang/EasySpider.git
synced 2025-04-22 18:45:40 +08:00
New startup shell for sandbox
This commit is contained in:
parent
728a5cb3ea
commit
3601ddb14d
@ -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 chown root:root "./EasySpider/resources/app/chrome_linux64/chrome-sandbox"
|
||||||
sudo chmod 4755 "./EasySpider/resources/app/chrome_linux64/chrome-sandbox"
|
sudo chmod 4755 "./EasySpider/resources/app/chrome_linux64/chrome-sandbox"
|
||||||
fi
|
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
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
2
ExecuteStage/.vscode/launch.json
vendored
2
ExecuteStage/.vscode/launch.json
vendored
@ -12,7 +12,7 @@
|
|||||||
"justMyCode": false,
|
"justMyCode": false,
|
||||||
// "args": ["--ids", "[7]", "--read_type", "remote", "--headless", "0"]
|
// "args": ["--ids", "[7]", "--read_type", "remote", "--headless", "0"]
|
||||||
// "args": ["--ids", "[9]", "--read_type", "remote", "--headless", "0", "--saved_file_name", "YOUTUBE"]
|
// "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"]
|
"--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"
|
// "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"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user