diff options
author | pukkandan <pukkandan@gmail.com> | 2021-01-06 17:28:30 +0530 |
---|---|---|
committer | pukkandan <pukkandan@gmail.com> | 2021-01-06 17:43:27 +0530 |
commit | 735d865ece8801c146e368eef3723b5a3f14e490 (patch) | |
tree | 0648c4475a5fafa4b29ade5bfd66fcfe03eab5a5 | |
parent | 2af884ff2232508cfc29d5911348d0a77d8e7e37 (diff) | |
download | hypervideo-pre-735d865ece8801c146e368eef3723b5a3f14e490.tar.lz hypervideo-pre-735d865ece8801c146e368eef3723b5a3f14e490.tar.xz hypervideo-pre-735d865ece8801c146e368eef3723b5a3f14e490.zip |
Disable Updates
-rw-r--r-- | youtube_dlc/update.py | 2 | ||||
-rw-r--r-- | youtube_dlc/utils.py | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/youtube_dlc/update.py b/youtube_dlc/update.py index b358e902b..12b6c8608 100644 --- a/youtube_dlc/update.py +++ b/youtube_dlc/update.py @@ -32,6 +32,8 @@ def rsa_verify(message, signature, key): def update_self(to_screen, verbose, opener): """Update the program file with the latest version from the repository""" + return to_screen('Update is currently broken.\nVisit https://github.com/pukkandan/yt-dlc/releases/latest to get the latest version') + UPDATE_URL = 'https://blackjack4494.github.io//update/' VERSION_URL = UPDATE_URL + 'LATEST_VERSION' JSON_URL = UPDATE_URL + 'versions.json' diff --git a/youtube_dlc/utils.py b/youtube_dlc/utils.py index 7a2ba9ebd..6ed8629a7 100644 --- a/youtube_dlc/utils.py +++ b/youtube_dlc/utils.py @@ -4156,6 +4156,8 @@ def is_outdated_version(version, limit, assume_new=True): def ytdl_is_updateable(): """ Returns if youtube-dlc can be updated with -U """ + return False + from zipimport import zipimporter return isinstance(globals().get('__loader__'), zipimporter) or hasattr(sys, 'frozen') |