对Ubuntu状态栏图标以及应用程序图标的优化
Created by: RegisWang
在Ubuntu下,状态栏图标使用的是resources/app/assets/icon.png,但是在1.2.0版本中提供的图标并不是很好看。同时应用没有提供在Ubuntu下可用的.desktop文件,导致在Ubuntu中运行时,launcher上是一个问号。 http://pan.baidu.com/s/1qY1kHYk 中有两个图标:
- icon.png是用来在ubuntu状态栏上显示的,和系统图标风格一致;
- desktop_icon.png是用作desktop文件的图标的,是官方原版图标;
建议的存放位置都是resources/app/assets/路径下,建议提供一个简单的WeChat.desktop文件:
[Desktop Entry]
Version=1.2.0
Name=WeChat
Comment=Connecting a half billion people
Keywords=chat;talk;im;message;
Exec=/path-to/electronic-wechat-linux-x64/electronic-wechat
Icon=/path-to/electronic-wechat-linux-x64/resources/app/assets/desktop_icon.png
Categories=InstantMessaging;Network;
Terminal=false
StartupNotify=true
Type=Application