antigravity-proxy / start.sh
Yash030's picture
fix: write accounts from ACCOUNTS_JSON env var on startup
f17727c
Raw
History Blame Contribute Delete
299 Bytes
#!/bin/sh
# Write accounts from env var to disk if provided
if [ -n "$ACCOUNTS_JSON" ]; then
mkdir -p "$HOME/.config/antigravity-proxy"
echo "$ACCOUNTS_JSON" > "$HOME/.config/antigravity-proxy/accounts.json"
echo "[startup] accounts.json written from ACCOUNTS_JSON env var"
fi
exec npm start