v0.35.1
Bug Fixes
- Eliminate the command-line window flash that appeared at Windows login by @arkohut
- The startup-folder shortcut now targets
wscript.exerunning a smalllaunch.vbswrapper, which callsWshShell.Run launch.bat, 0, Falseto launch the .bat in a fully hidden window - Even with
WindowStyle=Minimized, the previous direct-to-.bat shortcut caused Explorer to spawncmd.exeand paint a console for one frame; the VBS wrapper removes that frame entirely - Existing v0.35.0 users need to re-run
pen enableonce to replace the old shortcut with the new VBS-based one
- The startup-folder shortcut now targets
- Prevent more than one
record/watchservice from running at the same time by @arkohut- Added
acquire_service_lockinservice_manager, an atomic PID-file claim that combines the existing PID-file infrastructure withO_EXCLto close the check-then-write race record(in persistent mode, not--once) andwatchnow refuse to start when a live instance is already holding the lock, printing the conflicting PID- Stale PID files (process gone or running something else) are still cleaned up automatically; the parent-pre-writes-child-PID path used by
pen startis also handled
- Added
CI
- Restore the dual memos / pensiev publish path in the release workflow by @arkohut
uv buildnow produces both thememosandpensievdistributions on every tag, and both PyPI publish jobs (pypi-memos,pypi-pensiev) run after the draft release is created
Full Changelog: v0.35.0...v0.35.1
Bug 修复
- 修复 Windows 登录时启动脚本一闪而过的命令行窗口 by @arkohut
- 开机自启的快捷方式改为指向
wscript.exe运行launch.vbs,再由 vbs 通过WshShell.Run launch.bat, 0, False在完全隐藏的窗口中启动 .bat - 即便快捷方式设了
WindowStyle=Minimized,原先直接挂 .bat 的方式仍会让 Explorer 拉起cmd.exe并把控制台画出一帧;VBS 包装层彻底消除这一帧 - 已经升到 v0.35.0 的用户需要重跑一次
pen enable,把旧的快捷方式替换成新的 VBS 启动链
- 开机自启的快捷方式改为指向
- 防止同时运行多个
record/watch服务进程 by @arkohut- 在
service_manager中新增acquire_service_lock:在已有 PID 文件机制基础上叠加O_EXCL原子创建,关掉检查到写入之间的 race window record(持续模式,非--once)和watch启动时若发现有存活的同名服务在锁里,会打印冲突 PID 并退出- Stale PID 文件(对应进程已不存在或换了其它进程)仍会被自动清理;
pen start父进程预写子进程 PID 的场景也正确处理
- 在
CI
- 恢复 release 流水线中 memos / pensiev 双包发布路径 by @arkohut
- 每次推 tag 时
uv build会同时产出memos与pensiev两个分发包,两个 PyPI 发布 job(pypi-memos、pypi-pensiev)都会在 release draft 创建之后并行运行
- 每次推 tag 时
完整更新日志: v0.35.0...v0.35.1