1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-08-13 16:08:29 +00:00

use python zipfile instead of zip

Authored by: bashonly
This commit is contained in:
bashonly 2025-08-12 02:48:50 -05:00
parent 8d129c869a
commit 47922adf9e
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0

View File

@ -9,7 +9,7 @@ python3 -m devscripts.make_lazy_extractors
python3 devscripts/update-version.py -c "${CHANNEL}" -r "${ORIGIN}" "${VERSION}"
python3 -m bundle.pyinstaller --onedir
pushd "./dist/${EXE_NAME}"
zip -r "/build/${EXE_NAME}.zip" .
python3 -m zipfile -c "/build/${EXE_NAME}.zip" ./
popd
python3 -m bundle.pyinstaller
mv "./dist/${EXE_NAME}" /build/