mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
59b089a0cc438eadaf78408637c90f8c5673373d
Summary: Fix the macOS tray icon refresh path so the menu bar icon updates immediately after system light/dark appearance changes, even while Telegram stays unfocused in the background. Changes: The tray icon code was observing status button appearance changes but rendering against NSApp effectiveAppearance on macOS 10.14 and newer. Those two appearance sources do not update in lockstep while Telegram is unfocused, which caused the tray icon to redraw with a stale color until the app was focused. This change makes the renderer use status.button.effectiveAppearance directly so the icon color is derived from the same Cocoa object that emits the refresh signal.
…
Telegram Desktop – Official Messenger
This is the complete source code and the build instructions for the official Telegram messenger desktop client, based on the Telegram API and the MTProto secure protocol.
The source code is published under GPLv3 with OpenSSL exception, the license is available here.
Supported systems
The latest version is available for
- Windows 7 and above (64 bit) (portable)
- Windows 7 and above (32 bit) (portable)
- macOS 10.13 and above
- Linux static build for 64 bit
- Snap
- Flatpak
Old system versions
Version 4.9.9 was the last that supports older systems
Version 2.4.4 was the last that supports older systems
Version 1.8.15 was the last that supports older systems
Third-party
- Qt 6 (LGPL) and Qt 5.15 (LGPL) slightly patched
- OpenSSL 3.2.1 (Apache License 2.0)
- WebRTC (New BSD License)
- zlib (zlib License)
- LZMA SDK 9.20 (public domain)
- liblzma (public domain)
- Google Breakpad (License)
- Google Crashpad (Apache License 2.0)
- GYP (BSD License)
- Ninja (Apache License 2.0)
- OpenAL Soft (LGPL)
- Opus codec (BSD License)
- FFmpeg (LGPL)
- Guideline Support Library (MIT License)
- Range-v3 (Boost License)
- Open Sans font (Apache License 2.0)
- Vazirmatn font (SIL Open Font License 1.1)
- Emoji alpha codes (MIT License)
- xxHash (BSD License)
- QR Code generator (MIT License)
- CMake (New BSD License)
- Hunspell (LGPL)
- Ada (Apache License 2.0)
Build instructions
Languages
C++
71.6%
C
26.6%
Objective-C++
0.6%
CMake
0.4%
Python
0.3%
Other
0.1%
