Commit 3f3454b5 authored by Willi Rath's avatar Willi Rath

Avoid splash screen on mac

parent 64798d07
......@@ -38,9 +38,13 @@ add_proxy_bypass=$(
| tr '[:blank:]' '\n' | paste -s -d ';' -)
echo "Won't use proxy for any of:" ${add_proxy_bypass}
# Start chrome / chromium
# create tmp user dir
tmp_user_data_dir="/tmp/chromium_user_data_$(date +%s%N)"
# Start chrome / chromium and clea
"${browser}" \
--new-window --user-data-dir="/tmp/chromium_user_data_$(date +%s%N)" \
--new-window --no-first-run \
--user-data-dir="${tmp_user_data_dir}" \
--proxy-bypass-list="<-loopback>;${add_proxy_bypass}" \
--proxy-server="socks5://localhost:${socks_5_port}" \
${URL}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment