Update icon for Linux menus to use an SVG icon

Replace mattermost-desktop PNG icon (icon.png) with an SVG version
(icon.svg). This will improve icon appearance on Linux desktops.
Update icon references in electron-builder.json and
create_desktop_file.sh to point to the new SVG icon.
Update CHANGELOG.MD
Fixes #507
This commit is contained in:
Jim Campbell 2018-06-04 10:12:40 -05:00
parent 093ea02200
commit 3921081384
5 changed files with 23 additions and 2 deletions

View file

@ -13,6 +13,8 @@ Release date: TBD
### Improvements
#### Linux
- Use SVG icon for Linux application menus in place of PNG icon
[#815](https://github.com/mattermost/desktop/pull/815)
- Updated categories in order to be listed under the appropriate submenu of the application starter.
[#816](https://github.com/mattermost/desktop/pull/816)
[#818](https://github.com/mattermost/desktop/pull/818)

View file

@ -38,7 +38,7 @@
"from": "resources/linux",
"filter": [
"create_desktop_file.sh",
"icon.png",
"icon.svg",
"README.md"
]
}

View file

@ -12,7 +12,7 @@ Comment=Mattermost Desktop application for Linux
Exec="${FULL_PATH}/mattermost-desktop"
Terminal=false
Type=Application
Icon=${FULL_PATH}/icon.png
Icon=${FULL_PATH}/icon.svg
Categories=Network;InstantMessaging;
EOS
chmod +x Mattermost.desktop

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 KiB

19
resources/linux/icon.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 111 KiB