Skip to content

v0.6.3 — 网页本地自服务 + 卡片尺度回到 v0.6.1

Choose a tag to compare

@High-cla High-cla released this 22 Sep 21:22
· 34 commits to master since this release

改动

1. 本地启动自动弹(替代云端 URL)

  • 三个网页资源(items_browser.html / items_data_full.js / tag_zh.js)经 csproj EmbeddedResource 内嵌进 ProgressMod.dll
  • 新增 TryRouteWeb:/ 等 5 条路由从 GetManifestResourceStream 直接发出;favicon 返 204
  • 自动打开由云端 high-cla.github.io 改为 http://localhost:26880/ —— 页面与 API 同源,离线可用
  • 云端 Pages 保留(不开游戏时查阅图鉴用)

2. 卡片尺度回到 v0.6.1

用户指定「没有移动端适配之前的版本」。移动端适配与尺寸放大是同一次提交(d0e0f68)引入的。

  • 列宽 248→268px、卡名 15px/700→14.5px/600、英文名/ID 11→12px、按钮字号 13→11px、星标 top/right 9px
  • .card-desc 用 47px 而非 v0.6.1 的 38px —— 后者未计入 padding 与 border(box-sizing:border-box),内容区仅 29px 放不下两行,第二行会被切一半,是 v0.6.1 的遗留缺陷

验证

  • Release 构建 0 警告 0 错误
  • 反射抽取内嵌资源与 docs/ 源文件逐字节比对 3/3 IDENTICAL
  • 独立 HttpListener 实测 5 条路由全 200,未知路径 404
  • 浏览器实测:481 卡、数据 481 项、card-name 14.5px/600、btn 30px/11px、fav 26px、描述截断 0、卡片溢出 0、零横向溢出
  • 对比度最差 6.08(AA 需 4.5)

资产

文件 说明
ProgressMod.dll 452608 B — 含内嵌网页(较上版 +382KB)
InventorySorter.dll 57856 B
NetworkUnlockMod.dll 8704 B

未做

  • 真机验证:需启动游戏确认自动弹出与生成链路。日志看 [Spawn] 开头的行。