The Mattermost desktop app is an Electron wrapper around the web app project. It lives in the mattermost/desktop repository. The desktop app runs on Windows, Linux, and macOS.
https://github.com/mattermost/desktop
https://community.mattermost.com/core/channels/desktop-app