fix(build): 修复 Ubuntu/Linux 安装后应用图标显示为齿轮

根因:linux.icon 指向单张 1084x1084 PNG,electron-builder 将其原样装入
hicolor/1084x1084/(非法的主题尺寸目录),GNOME 图标主题索引无法命中,
启动器/任务栏回退为齿轮默认图标。

新增 build/icons 标准尺寸集(16-1024),deb/rpm/AppImage 均装入合法的
hicolor 尺寸目录。已实际构建 deb 对比验证新旧产物。

Closes #701
This commit is contained in:
alger
2026-07-05 14:26:55 +08:00
parent baf3c7832e
commit 07d4204b5a
9 changed files with 1 additions and 1 deletions
+1 -1
View File
@@ -180,7 +180,7 @@
"requestedExecutionLevel": "asInvoker"
},
"linux": {
"icon": "resources/icon.png",
"icon": "build/icons",
"target": [
{
"target": "AppImage",