Skip to content

fix(bundle): NSIS 安装包改用应用图标 - #113

Merged
ranger1112 merged 1 commit into
mainfrom
fix/installer-icon
Nov 8, 2026
Merged

ranger1112 merged 1 commit into
mainfrom
fix/installer-icon

Conversation

@ranger1112

Copy link
Copy Markdown
Owner

问题

安装包 FlashNote_<版本>_x64-setup.exe 显示的是 NSIS 默认图标,而不是应用图标;已安装的 flashnote.exe 图标是正确的。

修复

在 tauri.conf.json 的 bundle.windows.nsis 中显式指定:

  • installerIcon: icons/icon.ico
  • uninstallerIcon: icons/icon.ico

验证

本地 npm run tauri build 重新打包后,从 FlashNote_0.6.1_x64-setup.exe 提取的图标已与 icons/icon.ico 一致(不再是 NSIS 地球图标)。

🤖 Generated with Claude Code

Tauri 默认给安装包使用 NSIS 自带图标;显式配置 installerIcon 与
uninstallerIcon 后,setup.exe 和卸载程序都使用 icons/icon.ico。

Co-Authored-By: Claude Code <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 8, 2026 11:54

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 was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@ranger1112
ranger1112 merged commit 5edd645 into main Nov 8, 2026
1 check passed
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