add setup script

This commit is contained in:
2026-04-15 06:15:59 +00:00
parent c1de283fb6
commit 187d41e93f
3 changed files with 50 additions and 0 deletions

28
ddln_cli/dev.sh Executable file
View 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"