Files
TrueGrowth/vendor/social-auto-upload/skills/bilibili-upload/references/runtime-requirements.md
Jammy 52636c91ae
Some checks failed
CI / main (push) Has been cancelled
CI / release-e2e (push) Has been cancelled
Track bundled vendor runtime sources
2026-07-07 10:05:50 +08:00

50 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 运行前提
这个 skill 默认假设当前环境已经具备:
- 已安装 `social-auto-upload`
- 可以调用 `sau`,或者至少可以执行 `python sau_cli.py`
- 当前机器首次运行时可以联网访问 GitHub Release
## 关键说明
用户不需要自己安装 `biliup`
当你执行 `sau bilibili ...` 时:
- 如果本地没有 `biliup`,程序会自动下载
- 如果上游 GitHub Release 有更新,程序会自动更新后再继续执行
## 推荐调用方式
### `sau` 已在 PATH 中
```bash
sau bilibili --help
```
### 仓库内直接调用
PowerShell
```powershell
.\.venv\Scripts\python.exe sau_cli.py bilibili --help
```
bash / zsh
```bash
python sau_cli.py bilibili --help
```
## 首次运行注意事项
- 首次运行可能比其他平台更慢,因为要自动准备 `biliup`
- 如果网络无法访问 GitHub ReleaseBilibili 命令会失败
- 一旦本地已经准备好 `biliup`,后续命令会直接复用
- `sau bilibili login --account <name>` 需要用户自己在本地真实终端里执行
- 如果终端二维码显示不完整,通常可以直接打开当前目录下的 `qrcode.png` 扫码
- 如果国内网络访问 GitHub Release 较慢,可先用 `https://gh-proxy.com/``https://gh-proxy.org/` 辅助访问对应 release 地址排障
- 示例:
- `https://gh-proxy.org/https://github.com/biliup/biliup/releases/download/v1.1.29/biliupR-v1.1.29-aarch64-linux.tar.xz`