Repository navigation
Conversation
fix(db): 修复 1GiB 以上 QQ 数据库误判
ozone-platform 必须作为 Electron 启动参数传入:Chromium 的 Ozone 后端在应用 JS 执行前就已初始化,app.commandLine.appendSwitch 即使写在 whenReady 之前也 来不及。Electron 44 + Hyprland 实测该写法会让 Electron 认为窗口 visible,但 X server 里没有顶层窗口,同时 GPU 进程反复 SIGSEGV(139)。 - dev 由 electron.vite.config.ts 注入 ELECTRON_CLI_ARGS(放在用户参数前面, 兼容 pnpm dev -- --user-data-dir=…) - 打包版由 electron-builder 的 linux.executableArgs 注入 - Wayland 会话仍默认走 XWayland 以保留浮动窗口,WEQ_OZONE_PLATFORM=wayland 可退回原生 Wayland - 新增 ozonePlatformArgs() 与单测,补充开发笔记
electron-vite 6 把共享模块拆进 out/main/chunks/,原先把仓库根的 resources/ 写死为「out/main 往上四级」,层级一深就指到 apps/resources, 所有 resolveResource() 静默返回 null:装扮广告占位图(weq-media://dress)、 窗口图标、助手封面、红包皮肤离线目录等一并失效。 改成从 bundle 所在目录逐级上溯、按 brand/logo.png 认根,并去掉 resourcesPath 缺省时拼出的相对路径(纯 Node 下会跟着 cwd 漂移)。 补单测覆盖 out/main 与 out/main/chunks 两种构建深度。
首次 useLayoutEffect 时 iframe 的 srcDoc 尚未解析完,contentDocument 存在但 documentElement 还是 null,applyTheme() 直接读 .style 抛 Cannot read properties of null,打断 MailBody 首渲染导致正文不显示。 改为对 documentElement 判空后安静返回,交由 onLoad 时文档就绪再写入 --mail-fg / --mail-accent / --mail-scheme。补单测复现该时序。
# Conflicts: # apps/desktop/src/renderer/src/components/QQConversationControls.tsx # apps/desktop/src/renderer/src/components/QQWriteControls.tsx
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.
No description provided.