]> jfr.im git - yt-dlp.git/commitdiff
make_win.bat: don't use UPX to pack vcruntime140.dll
authorJody Bruchon <redacted>
Thu, 12 Nov 2020 22:03:39 +0000 (17:03 -0500)
committerJody Bruchon <redacted>
Thu, 12 Nov 2020 22:03:39 +0000 (17:03 -0500)
If UPX is available in the PATH, then without this option,
make_win.bat will corrupt the DLL and the built executable will
be unusable.

make_win.bat

index 891d517b31ee7c7fdd2ebc2631abc2435b9e259b..c35d9937e40defce2fc868672be06fb7a313906b 100644 (file)
@@ -1 +1 @@
-py -m PyInstaller youtube_dlc\__main__.py --onefile --name youtube-dlc --version-file win\ver.txt --icon win\icon\cloud.ico
\ No newline at end of file
+py -m PyInstaller youtube_dlc\__main__.py --onefile --name youtube-dlc --version-file win\ver.txt --icon win\icon\cloud.ico --upx-exclude=vcruntime140.dll
\ No newline at end of file