Skip to content

Releases

v0.2.2

Choose a tag to compare

@yezitotempeace yezitotempeace released this 20 Oct 03:12

修安装前提:工具改为随包解析。

  • lib/index.js 不再写死 /root/dsh-bin/tmp-clean,改用 import.meta.url 定位包内 bin/tmp-clean;
  • 查找顺序 TMP_CLEAN_TOOL → 包内 bin/tmp-clean → 旧路径;
  • 通过 python3 执行(可 TMP_CLEAN_PYTHON 覆盖),不依赖可执行位;
  • 工具缺失时打警告,不再静默返回 null;
  • README 中英同步更新安装说明。

v0.2.1

Choose a tag to compare

@yezitotempeace yezitotempeace released this 18 Oct 03:00

首个版本:/tmp 清理守护进程常驻 + 设置页。

  • 进程内看门狗:被 Android 杀掉后约 2 分钟内自动复活(5 分钟冷却)
  • 兜底清理:守护进程持续缺席 ≥3 分钟且到期时,由 dsh 进程执行 tmp-clean run
  • 设置页:状态(默认快路径,不扫盘)/ 配置 / 立即清理 / 演练
  • 4 条 API 路由(含 ?scan=1 与 revive)
  • 工具本体 bin/tmp-clean(Python 3,零依赖)