diff --git a/Changes b/Changes index 6155d75..779cb1a 100644 --- a/Changes +++ b/Changes @@ -198,3 +198,5 @@ 38 - On some MacOSes the `sysctl` executable is not in path. Try more places to find it. This should fix `download` on such OSes. + - Fix `download` on Windows (when the user doesn't happen to have + Strawberry Perl installed.) diff --git a/release-stuff/build-windows.ps1 b/release-stuff/build-windows.ps1 old mode 100644 new mode 100755 index eee3175..976d71e --- a/release-stuff/build-windows.ps1 +++ b/release-stuff/build-windows.ps1 @@ -50,7 +50,7 @@ cp resources/Config.pm.tmpl lib/App/Rakubrew/Config.pm perl -pi -E 's/<\%distro_format\%>/win/' lib/App/Rakubrew/Config.pm CheckLastExitCode -cpanm -n PAR::Packer +cpanm -n PAR::Packer@1.057 CheckLastExitCode cpanm --installdeps -n . @@ -59,7 +59,7 @@ CheckLastExitCode cpanm --installdeps -n --cpanfile cpanfile.win . CheckLastExitCode -pp -I lib -M App::Rakubrew:: -M HTTP::Tinyish:: -M IO::Socket::SSL -o rakubrew.exe script/rakubrew +pp -I lib -M App::Rakubrew:: -M HTTP::Tinyish:: -M IO::Socket::SSL -l C:\Strawberry\c\bin\libcrypto-1_1-x64__.dll -l C:\Strawberry\c\bin\libssl-1_1-x64__.dll -l C:\Strawberry\c\bin\zlib1__.dll -o rakubrew.exe script/rakubrew CheckLastExitCode # Reset our modified Config.pm again.