2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Use argv0 for shortcuts when updater is disabled

This commit is contained in:
Ilya Fedin
2023-06-16 00:15:23 +04:00
committed by John Preston
parent 8aee08eaef
commit 1d234ea990
5 changed files with 28 additions and 16 deletions

View File

@@ -46,10 +46,9 @@ bool TrayIconSupported();
bool SkipTaskbarSupported();
void WriteCrashDumpDetails();
void NewVersionLaunched(int oldVersion);
[[nodiscard]] QImage DefaultApplicationIcon();
[[nodiscard]] bool PreventsQuit(Core::QuitReason reason);
[[nodiscard]] QString ExecutablePathForShortcuts();
#if QT_VERSION < QT_VERSION_CHECK(6, 5, 0)
[[nodiscard]] std::optional<bool> IsDarkMode();