add setup script
This commit is contained in:
28
ddln_cli/dev.sh
Executable file
28
ddln_cli/dev.sh
Executable file
@@ -0,0 +1,28 @@
|
||||
#!/bin/bash
|
||||
user_data_dir="${1:-./profile}"
|
||||
user_id="${2:-b38b623c-c3fa-4351-9cab-50233c99fa4e}"
|
||||
|
||||
"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" \
|
||||
--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://localhost:8443/connect/$user_id?bootstrap"
|
||||
Reference in New Issue
Block a user