feat: Windows CodeBuddy CN 优雅关闭与写库保护 - #29
Open
changexbc wants to merge 1 commit into
Open
Conversation
- process: 新增向指定 PID 可见顶层窗口发送 WM_CLOSE 的辅助(user32/Add-Type) - codebuddy_cn_ide: Windows 关闭改为 WM_CLOSE 优雅退出,残留仍持窗口时提示用户而非直接强杀,避免未保存内容丢失;启动后新增存活校验,避免单例锁秒退仍提示切换成功 - vscode_cn_inject: 写库前等待 DB 释放独占句柄、用 VACUUM INTO 生成一致快照备份、写后解密回读校验并在失败时回滚备份
|
O(∩_∩)O要不要连Trae系一起收编了省的还得开2插件 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
针对 Windows 平台处理 CodeBuddy CN IDE(桌面客户端)时的三个安全问题/缺陷:
改动内容(仅 Windows,wb-switch-core)
验证