1
0
Fork 0

Disable Updates

This commit is contained in:
pukkandan 2021-01-06 17:28:30 +05:30
commit 735d865ece
2 changed files with 4 additions and 0 deletions

View file

@ -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')