Skip to content

fix(desktop): 应用图标 PNG 转 8-bit RGBA 修复 macOS 打包 - #1646

Merged
DeliciousBuding merged 1 commit into
masterfrom
fix/desktop-icons-8bit
Aug 6, 2026
Merged

fix(desktop): 应用图标 PNG 转 8-bit RGBA 修复 macOS 打包#1646
DeliciousBuding merged 1 commit into
masterfrom
fix/desktop-icons-8bit

Conversation

@DeliciousBuding

Copy link
Copy Markdown
Collaborator

Summary

  • tauri-bundler 生成 icns 时遇 16-bit RGBA PNG 报 unsupported ColorType: Rgba16(仅 macOS 路径触发,Windows NSIS 用 .ico 不受影响)
  • 修复:四个 agenthub-icon-rounded-*.png 转 8-bit RGBA(IHDR bitdepth=8 校验通过)

Test plan

  • CI 全绿
  • rc.5 重跑时 macOS Build Tauri (DMG) 通过

tauri-bundler 生成 icns 时遇到 16-bit RGBA PNG 报
'unsupported ColorType: Rgba16'(仅 macOS 路径触发,Windows NSIS
用 .ico 不受影响)。四个 agenthub-icon-rounded-*.png 转为 8-bit RGBA,
位深校验通过(IHDR bitdepth=8)。
Copilot AI lite review requested due to automatic review settings August 6, 2026 06:35

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (4)
  • app/desktop/src-tauri/icons/agenthub-icon-rounded-128.png is excluded by !**/*.png
  • app/desktop/src-tauri/icons/agenthub-icon-rounded-256.png is excluded by !**/*.png
  • app/desktop/src-tauri/icons/agenthub-icon-rounded-32.png is excluded by !**/*.png
  • app/desktop/src-tauri/icons/agenthub-icon-rounded-512.png is excluded by !**/*.png

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 80e97f56-2e08-4b13-8aa4-70d041ab52a8

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@DeliciousBuding
DeliciousBuding merged commit 1944f30 into master Aug 6, 2026
22 checks passed
@DeliciousBuding
DeliciousBuding deleted the fix/desktop-icons-8bit branch August 6, 2026 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants