gcli2api / signin.sh
a3216's picture
chore: 同步到上游 1.12.0-panel + 凭证同步/独立启动器/保活
6d60378 verified
Raw History Blame Contribute Delete
299 Bytes
#!/bin/bash
# 批量签到脚本:遍历 auths/ 下所有 workbuddy-*.json 账号
# 用法: ./signin.sh [auths_dir]
set -e
cd "$(dirname "$0")"
BIN=./signin_bin
if [ ! -x "$BIN" ]; then
echo "build signin_bin ..."
go build -o "$BIN" ./cmd/signin
fi
exec "$BIN" "${1:-auths}"