Add cli script intot his repo. Monorepo FTW!
This commit is contained in:
32
ddln_cli/ddln.sh
Executable file
32
ddln_cli/ddln.sh
Executable file
@@ -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
|
||||
Reference in New Issue
Block a user