Skip to content

Commit 735dcc9

Browse files
committed
v1.1.8 fix: harden sing-box download, add dynamic WARP account, clean up OpenRC output
- validate sing-box tarball integrity and retry (drop proxy after 2nd try) to stop aborts from `gzip: invalid magic` / `tar: No such file` on interrupted downloads - silence cloudflared upgrade download and qrencode fallback download; remove corrupt/empty files on failure - register a fresh WARP account with fallback to the shared account when registration fails - replace intermediate path variables with literal file paths - silence OpenRC service start/stop output, showing only the final result v1.1.8 fix: 增强下载健壮性并支持动态获取 WARP 账户,静默 OpenRC 输出 - 为 sing-box 压缩包下载增加完整性校验与重试(第 2 次起去掉代理直连),修复中断导致的 `gzip: invalid magic` / `tar: No such file` 直接退出 - 静默 cloudflared 升级下载与 qrencode 兜底下载,失败时清理损坏/空文件 - 动态注册新 WARP 账户,注册失败回退共享账户 - 用直接文件路径替代中间临时变量 - 静默 OpenRC 开启/停止服务的过程输出,仅展示最终结果
1 parent 9388bac commit 735dcc9

2 files changed

Lines changed: 115 additions & 32 deletions

File tree

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,20 @@
1717

1818
* * *
1919
## 更新信息
20-
2025.12.11 v1.1.7 Argo tunnel creation via API --- Automatically completed: Create tunnel > DNS configuration > Origin settings. Thanks to [zmlu] for providing the method: https://raw.githubusercontent.com/zmlu/sba/main/tunnel.sh; Argo 隧道新增通过 API 创建 --- 自动完成:创建隧道 > DNS 配置 > 回源设置。感谢热心网友 [zmlu] 提供的方法: https://raw.githubusercontent.com/zmlu/sba/main/tunnel.sh
21-
22-
2025.12.09 v1.1.6 Quick Install Mode: Added a one-click installation feature that auto-fills all parameters, simplifying the deployment process. Chinese users can use -l or -L; English users can use -k or -K. Case-insensitive support makes operations more flexible; 极速安装模式:新增一键安装功能,所有参数自动填充,简化部署流程。中文用户使用 -l 或 -L,英文用户使用 -k 或 -K,大小写均支持,操作更灵活
20+
2026.08.22 v1.1.8 1. Download robustness: Added integrity validation and retry for sing-box downloads, preventing aborts on incomplete downloads (e.g. gzip/tar errors); 2. Dynamic WARP account: install now registers a fresh WARP account with fallback to the shared account on failure; 3. Silent OpenRC output: hide OpenRC start/stop process messages, showing only the final result; 1. 下载健壮性增强:为 sing-box 下载增加完整性校验与重试,避免下载不完整导致 gzip/tar 报错退出; 2. 动态获取 WARP 账户:安装时动态注册新 WARP 账户,注册失败回退共享账户; 3. 静默 OpenRC 输出:隐藏 OpenRC 启停过程信息,仅展示最终结果
2321

24-
2025.11.10 v1.1.5 Replace multiplex with xtls-rprx-vision flow control in reality configuration; 在 reality 配置中将多路复用 multiplex 替换为 xtls-rprx-vision 流控
25-
26-
2025.04.26 v1.1.4 1. Added the ability to change CDNs online using [sb -d]; 2. Use OpenRC on Alpine to replace systemctl (Python3-compatible version); 3. Handle CentOS firewall port management; 4. Change GitHub proxy; 5. Optimize code; 1. 新增使用 [sb -d] 在线更换 CDN 功能; 2. 在 Alpine 系统中使用 OpenRC 取代兼容 Python3 的 systemctl 实现; 3. 处理 CentOS 防火墙端口管理; 4. 更换 GitHub 代理; 5. 优化代码
22+
2025.12.11 v1.1.7 Argo tunnel creation via API --- Automatically completed: Create tunnel > DNS configuration > Origin settings. Thanks to [zmlu] for providing the method: https://raw.githubusercontent.com/zmlu/sba/main/tunnel.sh; Argo 隧道新增通过 API 创建 --- 自动完成:创建隧道 > DNS 配置 > 回源设置。感谢热心网友 [zmlu] 提供的方法: https://raw.githubusercontent.com/zmlu/sba/main/tunnel.sh
2723

2824
<details>
2925
<summary>历史更新 history(点击即可展开或收起)</summary>
3026
<br>
3127

28+
>2025.12.09 v1.1.6 Quick Install Mode: Added a one-click installation feature that auto-fills all parameters, simplifying the deployment process. Chinese users can use -l or -L; English users can use -k or -K. Case-insensitive support makes operations more flexible; 极速安装模式:新增一键安装功能,所有参数自动填充,简化部署流程。中文用户使用 -l 或 -L,英文用户使用 -k 或 -K,大小写均支持,操作更灵活
29+
>
30+
>2025.11.10 v1.1.5 Replace multiplex with xtls-rprx-vision flow control in reality configuration; 在 reality 配置中将多路复用 multiplex 替换为 xtls-rprx-vision 流控
31+
>
32+
>2025.04.26 v1.1.4 1. Added the ability to change CDNs online using [sb -d]; 2. Use OpenRC on Alpine to replace systemctl (Python3-compatible version); 3. Handle CentOS firewall port management; 4. Change GitHub proxy; 5. Optimize code; 1. 新增使用 [sb -d] 在线更换 CDN 功能; 2. 在 Alpine 系统中使用 OpenRC 取代兼容 Python3 的 systemctl 实现; 3. 处理 CentOS 防火墙端口管理; 4. 更换 GitHub 代理; 5. 优化代码
33+
>
3234
>2025.03.25 v1.1.3 Compatible with Sing-box 1.12.0-alpha.18+; 适配 Sing-box 1.12.0-alpha.18+
3335
>
3436
>2025.01.28 v1.1.2 1. Add server-side time synchronization configuration; 2. Replace some CDNs; 1. 添加服务端时间同步配置; 2. 替换某些 CDN

0 commit comments

Comments
 (0)