]> jfr.im git - yt-dlp.git/commit
Improve build/updater
authorpukkandan <redacted>
Sun, 14 Feb 2021 17:10:54 +0000 (22:40 +0530)
committerpukkandan <redacted>
Mon, 15 Feb 2021 10:11:40 +0000 (15:41 +0530)
commite5813e53f089e018606435926ae0e109c4838394
treec00e8ba9d26dac6276cdef38e5eb3353d7cce17a
parent273762c8d045ace16143a6614c8d258f02a8094b
Improve build/updater

* Fix `get_executable_path` in UNIX
* Update `x86.exe` correctly
* Exit immediately in windows once the update process starts so that the file handle is released correctly
* Show `exe`/`zip`/`source` and 32/64bit in verbose message
* Look for both `yt-dlp` and `youtube-dlc` in releases. This ensures that the updater will keep working when the binary name is changed to yt-dlp
* Disable pycryptodome in win_x86 since it causes `distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 10.0 is required`
.github/workflows/build.yml
pyinst.py
youtube_dlc/YoutubeDL.py
youtube_dlc/__init__.py
youtube_dlc/update.py
youtube_dlc/utils.py