diff --git a/ddln_cli/ddln.sh b/ddln_cli/ddln.sh new file mode 100755 index 0000000..67f2f56 --- /dev/null +++ b/ddln_cli/ddln.sh @@ -0,0 +1,32 @@ +#1/bin/bash +# rm -fr ./profile +# --no-sandbox \ +# --no-zygote \ +# --single-process \ + +user_data_dir="${1:-./profile}" +user_id="${2:-b38b623c-c3fa-4351-9cab-50233c99fa4e}" +chromium-browser \ + --disable-setuid-sandbox \ + --disable-infobars \ + --no-first-run \ + --hide-scrollbars \ + --disable-notifications \ + --disable-background-timer-throttling \ + --disable-backgrounding-occluded-windows \ + --disable-breakpad \ + --disable-component-extensions-with-background-pages \ + --disable-extensions \ + --disable-features=TranslateUI,BlinkGenPropertyTrees \ + --disable-ipc-flooding-protection \ + --disable-renderer-backgrounding \ + --enable-features=NetworkService,NetworkServiceInProcess \ + --force-color-profile=srgb \ + --metrics-recording-only \ + --mute-audio \ + --disable-gpu \ + --repl --headless \ + --user-data-dir=$user_data_dir \ + --remote-debugging-port=9332 \ + --enable-logging=stderr \ + https://ddln.app/connect/$user_id?bootstrap