diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-05-22 01:19:49 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-06-21 17:02:57 +0530 |
commit | e4afcfde08cbd40147e75c924768f1598ece1885 (patch) | |
tree | aa34b5c8bacb794af93fcbe649acf2943c0ca35f /yt_dlp | |
parent | 8372be74699de4591ea2d439fc01f1950870ab7f (diff) | |
download | hypervideo-pre-e4afcfde08cbd40147e75c924768f1598ece1885.tar.lz hypervideo-pre-e4afcfde08cbd40147e75c924768f1598ece1885.tar.xz hypervideo-pre-e4afcfde08cbd40147e75c924768f1598ece1885.zip |
[build] Add Linux standalone builds
Diffstat (limited to 'yt_dlp')
-rw-r--r-- | yt_dlp/update.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yt_dlp/update.py b/yt_dlp/update.py index f4ce4f958..8e34f2127 100644 --- a/yt_dlp/update.py +++ b/yt_dlp/update.py @@ -45,12 +45,13 @@ _FILE_SUFFIXES = { 'py2exe': '_min.exe', 'win32_exe': '.exe', 'darwin_exe': '_macos', + 'linux_exe': '_linux', } _NON_UPDATEABLE_REASONS = { **{variant: None for variant in _FILE_SUFFIXES}, # Updatable **{variant: f'Auto-update is not supported for unpackaged {name} executable; Re-download the latest release' - for variant, name in {'win32_dir': 'Windows', 'darwin_dir': 'MacOS'}.items()}, + for variant, name in {'win32_dir': 'Windows', 'darwin_dir': 'MacOS', 'linux_dir': 'Linux'}.items()}, 'source': 'You cannot update when running from source code; Use git to pull the latest changes', 'unknown': 'It looks like you installed yt-dlp with a package manager, pip or setup.py; Use that to update', 'other': 'It looks like you are using an unofficial build of yt-dlp; Build the executable again', |