chore: 默认安装路径改为 ~/.local/bin/auth-rt

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ywkj 2026-03-20 18:35:27 +08:00
parent ff8e74e0aa
commit 06cd08d833
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
set -euo pipefail
cd "$(dirname "$0")"
BIN_DIR="${1:-$HOME/.openclaw/bin}"
BIN_DIR="${1:-$HOME/.local/bin}"
SELF_DIR="$(pwd)"
mkdir -p "$BIN_DIR"

View File

@ -20,7 +20,7 @@ import * as os from 'os';
const home = process.env.HOME || os.homedir();
const AUTH_RT_BIN = process.env.AUTH_RT_BIN
|| path.join(home, '.openclaw', 'bin', 'auth-rt');
|| path.join(home, '.local', 'bin', 'auth-rt');
export interface ApiResponse {
status: number;