Skip to content

v0.0.8

Choose a tag to compare

@pickrui pickrui released this 09 Jul 00:14
  • 修复 Surge 频繁提示「该客户端已终止」的多个成因:安装/更新改为原子替换(不再打断正在运行的进程);节点进程先监听端口再拉取配置(避免启动慢被 Surge 判死反复重启);端口短暂被占自动重试;配置与缓存改为原子写入,杜绝切换瞬间读到半截文件
  • 同一时间只允许一个客户端(菜单栏或 --serve)运行,后启动的自动退出并在日志说明;Surge 按节点拉起的进程不受限
  • 完整性校验改为系统 API 进程内完成,不再周期性唤起子进程;「无法校验」不再误杀正常进程
  • 日志每行带时间戳,统一存放 ~/Library/Logs/oixcloud/--version 显示正式版本号(报障请附带)

  • Fixes several causes of Surge repeatedly reporting the external client terminated: installs/updates now replace the binary atomically (running processes are no longer killed mid-update); per-node processes bind their port before the first config fetch (no more kill/restart churn on slow starts); transient port conflicts are retried; config and cache writes are atomic
  • Only one client (tray or --serve) may run at a time — a second one exits and says so in the log; per-node processes spawned by Surge are exempt
  • Integrity check now runs in-process via the system API (no periodic child process); "unable to verify" no longer kills a healthy process
  • Timestamped logs unified under ~/Library/Logs/oixcloud/; --version now reports the release version (please include it in bug reports)