This repository was archived by the owner on Oct 23, 2026. It is now read-only.
Repository navigation
feat: 设置页显示当前程序版本号 - #7
Merged
Merged
Conversation
原程序不显示版本号,定位版本不便。新增 VersionText 从程序集运行时版本 动态读取(如 v1.4.5),并在设置页底部提示区首行展示,后续升级自动跟随。
- 引入 DpiScale/S() 将 96-DPI 设计尺寸统一按显示缩放换算 - 仪表盘/签到记录/云端签到/侧边栏/PAT弹窗固定尺寸全部随缩放 - 设置页改可滚动画布 + 卡片 MinimumSize 兜底,修复多账号管理卡片内容被裁 - footer 改固定高度,修复提示行只剩顶部像素的问题
- 边框 FixedDialog 改 Sizable,启用最大化,MinimumSize 按 DPI 缩放兜底 - 关闭时保存窗口 Bounds 到 config.json(最大化/最小化取 RestoreBounds 正常边界) - 启动时恢复位置尺寸,含屏幕边界校验(换显示器后自动回退默认居中) - 同步更新 footer 提示文案与类注释
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
问题
程序不显示版本号,用户/维护者难以确认运行的是哪个版本。
改动
说明
版本随构建自动变化,无需每次升级改代码。