Skip to content

Commit

Permalink
fix: 7-zip download error
Browse files Browse the repository at this point in the history
  • Loading branch information
Xyueta authored Oct 8, 2023
1 parent 2e7147f commit 3f51b2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/playbook/Executables/SOFTWARE.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ $num = 0; foreach ($a in $vcredists.GetEnumerator()) {
}

# 7-Zip
$website = 'https://7-zip.org'
$website = 'https://7-zip.org/'
$download = $website + ((Invoke-WebRequest $website -UseBasicParsing).Links.href | Where-Object { $_ -like "a/7z2301-x64.exe" })
& curl.exe -LSs $download -o "$tempDir\7zip.exe"
Start-Process -FilePath "$tempDir\7zip.exe" -WindowStyle Hidden -ArgumentList '/S' -Wait
Expand Down

0 comments on commit 3f51b2e

Please sign in to comment.