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.
Linux 桌面环境下构建的 deb 和 AppImage 在 应用程序列表 和 Dock 中不能正确显示图标。
在 gnome,kde,xfce 三个桌面(ubuntu)试了一下。是如下的显示:
根据这里 https://www.electron.build/icons#linux
选择了和 macOS 相同的配置方式,生成 Linux 图标。
识别应用在应启动时, Dock 不能显示图标。
AppImage 应用好像不能自动识别到 Dock 应用图标,需要在
new BrowserWindow
时显示配置(显示配置后 deb 包不受影响)