Leadaxe 说明 launcher v2.4.5 的规则集更新与下载失败边界

Leadaxe 说明,singbox-launcher v2.4.5 会通过每小时循环刷新超过更新间隔的规则集,默认间隔为一周,运行中的内核无需重启。构建配置时缺失的 .srs 会先尝试下载;本地模式下载失败则省略对应规则并继续启动。Remote 模式交由内核下载,首次下载失败且没有缓存时内核仍无法启动。用户可设置更新间隔、下载路由并手动刷新;远程机器在 Deploy 时收到新文件。

作者原文

Fixed in v2.4.5.

  • Rule-sets are refreshed by the hourly loop that updates subscriptions. A file older than its interval (one week by default) is downloaded again, checked, and replaced; the running core picks it up without a restart.
  • A missing .srs is downloaded when the config is built and before the core starts. If the download fails, the rule is left out and the core starts, instead of FATAL initialize rule_set.
  • Settings → Rule-sets: Local / Remote mode, update interval, download route; an SRS rule or preset can override them in Rule-set updates. Remote hands the download to the core (type: remote with update_interval); the core will not start if its first download fails and there is no cached copy.
  • Manual refresh: the ⬇ upd button of the rule (formerly srs). A remote machine gets fresh files on Deploy.