TelegramSwift icon indicating copy to clipboard operation
TelegramSwift copied to clipboard

Disable automatic check for updates

Open xinatanil opened this issue 5 years ago • 11 comments

If you install Telegram for macOS via .dmg (not via Mac App Store), then you will frequently get those dialogs with "New version of Telegram is available, would you like to install it, etc". The problem is that minor releases of Telegram are being released on a very frequent basis, so this update pop up appears almost every day for me.

Pressing "Skip Update" works fine, but new releases come very often, and there's no way to disable automatic app update in the settings, so this pop up became INCREDIBLY annoying for me.

Please, add an option to disable app updates completely.

xinatanil avatar Sep 19 '18 11:09 xinatanil

That's why I'm still using an old version. A new version has a huge issue with the updater

ghost avatar May 14 '19 22:05 ghost

Is it possible to disable the update, because it downloads the updates in the background and spends the internet tethering traffic? Moreover, it redownloads the update each time telegram restarted

Zipfer avatar Mar 07 '21 21:03 Zipfer

I agree, give us the option to not install updates. I am travelling so essentially always on my 4g data. There should be a checkbox to disable this

Tom5om avatar Jan 14 '22 03:01 Tom5om

Agreed, the option should be in Preferences.

For example, using Telegram in an old machine (macOS 10.11 "El Capitan", cannot be upgraded, does not accept newer OS versions), and last update (9.0 STABLE) does not work on it, keeps crashing at start, logging out and back in as suggested does not work. Only reinstalling the old version (8.8 STABLE, fortunately I keep it stored) makes it work again, but it keeps DL'ing update and popping up a button to "Update" in the middle of the channel list, lower side, not too difficult to click it inadvertently, so a "Don't check for updates" option would be nice.

FerryA1 avatar Oct 09 '22 20:10 FerryA1

Agreed, the option should be in Preferences.

For example, using Telegram in an old machine (macOS 10.11 "El Capitan", cannot be upgraded, does not accept newer OS versions), and last update (9.0 STABLE) does not work on it, keeps crashing at start, logging out and back in as suggested does not work. Only reinstalling the old version (8.8 STABLE, fortunately I keep it stored) makes it work again, but it keeps DL'ing update and popping up a button to "Update" in the middle of the channel list, lower side, not too difficult to click it inadvertently, so a "Don't check for updates" option would be nice.

I have the same verion of the macOS and same issue with the 9.0 Stable

anyway we can modifty the local code to prevent it check the updates?

dinaau avatar Oct 23 '22 04:10 dinaau

can anyone wireshark the update url link on the macOS ? once we have the url link then we can block it

dinaau avatar Oct 23 '22 04:10 dinaau

found the answer myself go to users/urname/Library/Caches/ru.keepcoder.Telegram/org.sparkle-project.sparkle

make the folder "PersistentDownloads" read only and lock

dinaau avatar Oct 25 '22 09:10 dinaau

found the answer myself go to users/urname/Library/Caches/ru.keepcoder.Telegram/org.sparkle-project.sparkle

make the folder "PersistentDownloads" read only and lock

It doesn't wotk, that is the permission for users not for apps. Anyway, after i set that folder on read only, after a while I found that folder permission was reverse to read and write permission, and the usual two auto update files had been downloaded in there.

1111Al avatar Mar 17 '23 08:03 1111Al

:warning: eat with caution

cd ~/Library/Caches/ru.keepcoder.Telegram/org.sparkle-project.Sparkle/
sudo mv PersistentDownloads PersistentDownloads.bak
sudo install -d -g wheel -m 700 -o root PersistentDownloads

Un1Gfn avatar Dec 07 '23 15:12 Un1Gfn

⚠️ eat with caution

cd ~/Library/Caches/ru.keepcoder.Telegram/org.sparkle-project.Sparkle/
sudo mv PersistentDownloads PersistentDownloads.bak
sudo install -d -g wheel -m 700 -o root PersistentDownloads

Every time I reopen Telegram, it automatically starts downloading update data. Although it ultimately results in the message "Can't make a temporary directory for the update download at (null)" and annoying "Update Telegram" button disappears, it still consumes my network traffic. Is there a way to prevent Telegram from automatically downloading these updates?

jiangtann avatar Jan 20 '24 20:01 jiangtann

Is there a way to prevent Telegram from automatically downloading these updates?

There is no way to prevent updates due stupid Sparkle framework. It uses telegram servers to download updates so I can't block it with hosts or brandmauer. I'm thinking to use different telegram client because of consuming traffic for useless updates

AndreyGubin avatar Jan 21 '24 04:01 AndreyGubin