share flags on linux/mac

This commit is contained in:
Brandon Thomas committed 2023-12-19 02:16:05 -05:00
1 parent 955d581bfa
commit 17e4268f01
1 file changed
+4 -2
+4 -2
View File
@@ -11,10 +11,12 @@ declare -r chrome_dir="/tmp/chrome/${entropy}"
launch_linux() {
chromium \
--disable-site-isolation-trials \
--disable-web-security \
--ignore-certificate-errors \
--install-autogenerated-theme="100,150,255" \
--unsafely-treat-insecure-origin-as-secure="http://dev.fakeyou.com:7000" \
--user-data-dir="${chrome_dir}" \
--install-autogenerated-theme="255,0,255" \
http://dev.fakeyou.com:7000
}
@@ -27,9 +29,9 @@ launch_mac() {
--disable-site-isolation-trials \
--disable-web-security \
--ignore-certificate-errors \
--install-autogenerated-theme="100,150,255" \
--unsafely-treat-insecure-origin-as-secure="http://dev.fakeyou.com:7001" \
--user-data-dir="${chrome_dir}" \
--install-autogenerated-theme="255,0,255" \
http://dev.fakeyou.com:7001
}