Remove version from the .desktop file

Some desktop environments hide the launcher if they don't know the version
This commit is contained in:
Ilya Fedin 2022-09-01 10:44:47 +04:00 committed by John Preston
parent 5fc7caeec9
commit f1092753fc
2 changed files with 3 additions and 1 deletions

View File

@ -636,6 +636,9 @@ void NewVersionLaunched(int oldVersion) {
Core::Restart(); // restart with X backend
}
}
if (oldVersion <= 4001001 && cAutoStart()) {
AutostartToggle(true);
}
}
namespace ThirdParty {

View File

@ -1,5 +1,4 @@
[Desktop Entry]
Version=1.5
Name=Telegram Desktop
Comment=Official desktop version of Telegram messaging app
TryExec=telegram-desktop