Skip to content

Commit

Permalink
add win-acme lets encrypt client
Browse files Browse the repository at this point in the history
  • Loading branch information
riipandi committed Dec 19, 2019
1 parent f944eff commit ac337db
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions installer.iss
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ procedure CreatePathEnvironment;
begin
WizardForm.StatusLabel.Caption := 'Adding PATH environment variables ...';
EnvAddPath(ExpandConstant('{app}\utils'));
EnvAddPath(ExpandConstant('{app}\pkg\winacme'));
EnvAddPath(ExpandConstant('{app}\pkg\httpd\bin'));
EnvAddPath(ExpandConstant('{app}\pkg\imagick\bin'));
EnvAddPath(ExpandConstant('{app}\pkg\php\php-7.4-ts'));
Expand All @@ -180,6 +181,7 @@ end;
procedure RemovePathEnvironment;
begin
EnvRemovePath(ExpandConstant('{app}\utils'));
EnvRemovePath(ExpandConstant('{app}\pkg\winacme'));
EnvRemovePath(ExpandConstant('{app}\pkg\httpd\bin'));
EnvRemovePath(ExpandConstant('{app}\pkg\imagick\bin'));
EnvRemovePath(ExpandConstant('{app}\pkg\php\php-7.4-ts'));
Expand Down
13 changes: 13 additions & 0 deletions scripts/get_winacme.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
@echo off
color 08

:: ionCube Loader VC15
if not exist "%TMPDIR%\win-acme-x64.zip" (
echo. && echo ^> Downloading ionCube loader ...
%CURL% -L# "https://github.com/PKISharp/win-acme/releases/download/v%ver_winacme%/win-acme.v%ver_winacme%.x64.pluggable.zip" -o "%TMPDIR%\win-acme-x64.zip"
)
if exist "%TMPDIR%\win-acme-x64.zip" (
echo. && echo ^> Extracting Win ACME x64 ...
if exist "%ODIR%\pkg\winacme" RD /S /Q "%ODIR%\pkg\winacme"
%UNZIP% x "%TMPDIR%\win-acme-x64.zip" -o"%ODIR%\pkg\winacme" -y > nul
)
2 changes: 2 additions & 0 deletions setup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ set "ver_mailhog=1.0.0"
set "ver_mhsendmail=0.2.0"
set "ver_phpmyadmin=4.9.2"
set "ver_acrylicdns=1.1.1"
set "ver_winacme=2.1.2.641"

:: Download link
set "url_php72=https://windows.php.net/downloads/releases/php-%ver_php72%-Win32-VC15-x64.zip"
Expand Down Expand Up @@ -91,6 +92,7 @@ call %ROOT%\scripts\get_php74.bat
call %ROOT%\scripts\get_ioncube.bat
call %ROOT%\scripts\get_imagick.bat
call %ROOT%\scripts\get_essential.bat
call %ROOT%\scripts\get_winacme.bat

echo. && echo ^> Include extra utilities ...
copy /Y "%ROOT%\utils\7za.dll" "%ODIR%\utils\7za.dll" > nul
Expand Down

0 comments on commit ac337db

Please sign in to comment.