Skip to content

v0.4.1

Choose a tag to compare

@brandy2015 brandy2015 released this 01 Nov 01:10
· 20 commits to main since this release

v0.4.1

  • 进程内截图修复:等 ScreenCaptureKit 回调时会处理主线程事件;同一个 xyzlcu 的守护进程在运行时,进程内(XYZLCU_DAEMON=0)截图拿不到回调,以前会卡 10 秒以上,现在只等 1.5 秒就改用 screencapture,并在输出里给出 warning。
  • 守护进程里的 apps 不再固定等 20 毫秒(42 → 17 ms)。
  • 新增和 LCU 的对比测试:scripts/bench.py --lcu、scripts/bench_lcu.mjs,结果和测法见 README 的「性能对比」。
  • README 新增「致谢」:XYZLCU 借鉴自 Amont Labs 的 LCU(MIT,Copyright (c) 2026 Amont Labs),感谢开源。

  • In-process screenshot fix: pumps the main run loop while waiting for ScreenCaptureKit. While a daemon of the same binary is running, in-process captures get no callback; this used to stall 10+ s, now it waits 1.5 s, falls back to screencapture and reports a warning.
  • apps in the daemon no longer waits a fixed 20 ms (42 → 17 ms).
  • New benchmark against LCU (scripts/bench.py --lcu, scripts/bench_lcu.mjs); results and method in the README "Benchmark" section.
  • README Acknowledgements: XYZLCU is inspired by and borrows ideas from LCU by Amont Labs (MIT, Copyright (c) 2026 Amont Labs).

Universal binary (arm64 + x86_64). SHA-256 of xyzlcu-macos-universal.zip: eb1da74ee55191917a5847bdfb7a46eaaf08fac5d73a2efffa49e154e35659f7