chocolateyInstall.ps1 753 B

12345678910111213141516171819
  1. $ErrorActionPreference = 'Stop'
  2. $packageName = 'html-tidy'
  3. $url32 = 'https://github.com/htacg/tidy-html5/releases/download/5.2.0/tidy-5.2.0-win32.zip'
  4. $url64 = 'https://github.com/htacg/tidy-html5/releases/download/5.2.0/tidy-5.2.0-win64.zip'
  5. $checksum32 = '94D653498B4F93B14F12A55CA06154E19C540C9B276E5D163F1CF84FA078F97A'
  6. $checksum64 = 'DD9FD814CC44BC2FFA9B9E547B1A6CBB42B6BE7B9358542D3EE7F6E10B676423'
  7. $packageArgs = @{
  8. packageName = $packageName
  9. url = $url32
  10. url64Bit = $url64
  11. checksum = $checksum32
  12. checksum64 = $checksum64
  13. checksumType = 'sha256'
  14. checksumType64 = 'sha256'
  15. unzipLocation = Split-Path $MyInvocation.MyCommand.Definition
  16. }
  17. Install-ChocolateyZipPackage @packageArgs