mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-09-27 01:00:16 +00:00
Disable Updates
This commit is contained in:
@@ -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')
|
||||
|
Reference in New Issue
Block a user