Disable Updates
This commit is contained in:
parent
2af884ff22
commit
735d865ece
2 changed files with 4 additions and 0 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue