Skip to content

Commit

Permalink
chore(provision): fix Chocolatey
Browse files Browse the repository at this point in the history
  • Loading branch information
dafyddj committed Apr 20, 2024
1 parent b6b1006 commit 334bea5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion provision/main.provision
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
provisioner "powershell" {
inline = [<<-EOF
$env:chocolateyVersion = '1.4.0'
Set-ExecutionPolicy Bypass -Scope Process -Force
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
Expand Down Expand Up @@ -45,7 +46,7 @@
}
provisioner "powershell" {
inline = [
"choco-cleaner.ps1",
"choco-cleaner",
"exit 0",
]
}

0 comments on commit 334bea5

Please sign in to comment.