fix(build): 修复 Ubuntu/Linux 安装后应用图标显示为齿轮
根因:linux.icon 指向单张 1084x1084 PNG,electron-builder 将其原样装入 hicolor/1084x1084/(非法的主题尺寸目录),GNOME 图标主题索引无法命中, 启动器/任务栏回退为齿轮默认图标。 新增 build/icons 标准尺寸集(16-1024),deb/rpm/AppImage 均装入合法的 hicolor 尺寸目录。已实际构建 deb 对比验证新旧产物。 Closes #701
|
After Width: | Height: | Size: 176 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 989 B |
|
After Width: | Height: | Size: 31 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 72 KiB |
|
After Width: | Height: | Size: 5.7 KiB |
@@ -180,7 +180,7 @@
|
||||
"requestedExecutionLevel": "asInvoker"
|
||||
},
|
||||
"linux": {
|
||||
"icon": "resources/icon.png",
|
||||
"icon": "build/icons",
|
||||
"target": [
|
||||
{
|
||||
"target": "AppImage",
|
||||
|
||||