Repository navigation
v0.4.1
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
screencaptureand reports awarning. appsin 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