From 940bd4f2fc8fb46de6d7aea015b15d8638df892f Mon Sep 17 00:00:00 2001 From: Rob Reynolds Date: Sat, 23 Jan 2016 22:49:19 -0600 Subject: [PATCH] (GH-332) Fixup example --- .../helpers/functions/Install-ChocolateyZipPackage.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/chocolatey.resources/helpers/functions/Install-ChocolateyZipPackage.ps1 b/src/chocolatey.resources/helpers/functions/Install-ChocolateyZipPackage.ps1 index 43fb3c8cc7..34b23cec5a 100644 --- a/src/chocolatey.resources/helpers/functions/Install-ChocolateyZipPackage.ps1 +++ b/src/chocolatey.resources/helpers/functions/Install-ChocolateyZipPackage.ps1 @@ -56,12 +56,12 @@ Example: Accept = 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'; 'Accept-Charset' = 'ISO-8859-1,utf-8;q=0.7,*;q=0.3'; 'Accept-Language' = 'en-GB,en-US;q=0.8,en;q=0.6'; - Cookie = 'products.download.email=ewilde@gmail.com'; - Referer = 'http://submain.com/download/ghostdoc/'; + Cookie = 'requiredinfo=info'; + Referer = 'https://somelocation.com/'; } } - - Get-ChocolateyWebFile 'ghostdoc' 'http://submain.com/download/GhostDoc_v4.0.zip' -options $options + + Get-ChocolateyWebFile 'package' 'https://somelocation.com/thefile.exe' -options $options .EXAMPLE Install-ChocolateyZipPackage '__NAME__' 'URL' "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"