2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-10-17 14:19:43 +00:00

Simplify run-in-background option selection.

This commit is contained in:
John Preston
2025-01-21 14:37:30 +04:00
parent 7d74d3da3a
commit 9dc947ecb6
5 changed files with 25 additions and 43 deletions

View File

@@ -593,10 +593,6 @@ bool SkipTaskbarSupported() {
return false;
}
bool RunInBackground() {
return true;
}
QString ExecutablePathForShortcuts() {
if (Core::UpdaterDisabled()) {
const auto &arguments = Core::Launcher::Instance().arguments();