Repository navigation
fix: 恢复桌面端上次使用的 BYOS 配置 - #114
Merged
Merged
Conversation
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.
桌面端此前会保存 BYOS 服务和加密凭据,但重启后会丢失当前选择。现在保存并使用会在同一笔本地事务中写入服务和选中项,启动时会恢复最近使用的服务或离线模式。
验证方面,桌面前端构建和两项 BYOS 数据库测试均已通过。隔离的 macOS 应用包实测了保存、完全退出和重启后自动恢复选择。