From 63c00011d4ad59b37b08929ce413eb9506ac7150 Mon Sep 17 00:00:00 2001 From: Jody Bruchon Date: Thu, 12 Nov 2020 17:03:39 -0500 Subject: [PATCH] make_win.bat: don't use UPX to pack vcruntime140.dll 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make_win.bat b/make_win.bat index 891d517b31..c35d9937e4 100644 --- a/make_win.bat +++ b/make_win.bat @@ -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