Repository navigation
Conversation
用户要求把桌面图标换成新画的角色图。原来的图标是 tools/build.py 里用 Pillow 现画的「深色圆角方块 + 薄荷色六边形 + 播放三角」,要改图只能改代码。 - 新增美术源 resources/assets/icon.png(512×512、透明底,从 1536 原图去白底 + 居中垫成正方形后 LANCZOS 缩下来的),打包时由 build.py 直接吃它。 - build.py:make_icon() 拆成「优先吃美术源」+「回退到原来那套现画图」两条路。 美术源缺失或读坏了只打一行日志、退回占位图,不让整个打包挂掉(以前图标只是 构建期附属品,不该成为构建失败点)。 - ICO 一次写 16/24/32/48/64/128/256 七档:只放 256 的话任务栏和开始菜单会被 Windows 硬缩,糊成一片。 - resources/assets/app.ico 同步换成同一张图的成品(给「要一个 .ico 文件」的人 用);构建过程仍然不回写它,避免不同 Pillow 版本产出不同字节把工作树弄脏(#62)。 - 冒烟 B82(85 项):美术源存在/正方形/带透明底、生成物七档齐全、 美术源缺失能退回占位图、docs 写明美术源位置。 顺带修:_make_icon_drawn 里原来用 os.path.relpath(ICON_SRC, HERE) 打日志, 美术源被指到别的盘符(测试就是)会 ValueError 把打包带崩,改成 basename。 验证:本地跑 tools/build.py 出包成功(PyInstaller 日志「Copying icon to EXE」), build/work/app.ico 即新图标。 Co-authored-by: HuiParu <171644868+HuiParu@users.noreply.github.com>
四个号凌晨同时被踢回标题页后全部 90 秒中止。日志 [unknown] texts 实测 OCR 把「开始唤醒」读成「开始喚醒」(喚=U+559A),/开始唤醒/ 不中,标题页分支从未触发。 - auth 轮询与标题页分支改用 /开始[唤喚]醒/ - 标题页再加兜底:账号管理 + (查看公告|扫码登录) + ID:/Ver: 即认定标题页,读不出文字也硬点 (1281,1016) - 终端页入口 /卫[戍戌]协[议議]/,未结算 /[断斷]线重[连連]/(条件与 Pt 点击两处,新增 reconnect-tap-tolerance-v1111) 已从原版复原重打(14 条应用、12 条旧版本照旧 miss),node --check、假核心 27/27、幂等均通过。
原实现用 Z.__prtsAuthWaited 保证每次任务只等一次:20:13 4186 第二次被挤下线时只花了 34 秒就重连(12:14 那次已用掉等待窗口)。按用户要求改成每次检测到「登录认证已失效」都等满 30 分钟再点 ✔ 重登(360×5s 分段,可随时停止/中断)。 已从原版复原重打(14 条应用、12 条旧版本规则照旧 miss),node --check、假核心 27/27、幂等均通过。
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.
本版内容
resources/assets/icon.png→ 七档 ICO,缺源自动回退占位图(feat(build): exe 图标换成可露希尔头像(美术源 icon.png → 七档 ICO) #161)发版
合并后由
release.yml自动打 tag v2.8.7、跑冒烟、打包并发布 Release,同时把合并提交合回 main。