Skip to content

Commit

Permalink
feat(LIBREWOLF): make downloading faster
Browse files Browse the repository at this point in the history
  • Loading branch information
he3als committed Oct 2, 2023
1 parent 1a95b0d commit ab7f5a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/playbook/Executables/LIBREWOLF.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ $outputLibrewolf = "$env:SystemDrive\$librewolfFileName"
if ($args -ne 'noupdater') { $outputLibrewolfUpdater = "$env:SystemDrive\librewolf-winupdater.zip" }

Write-Warning "Downloading the latest LibreWolf setup"
Invoke-WebRequest -Uri $librewolfDownload -OutFile $outputLibrewolf
& curl.exe -LSs "$librewolfDownload" -o "$outputLibrewolf"
if ($args -ne 'noupdater') {
Write-Warning "Downloading the latest LibreWolf WinUpdater ZIP"
Invoke-WebRequest -Uri $librewolfUpdaterDownload -OutFile $outputLibrewolfUpdater
& curl.exe -LSs "$librewolfUpdaterDownload" -o "$outputLibrewolfUpdater"
}

Write-Warning "Installing LibreWolf silently"
Expand Down

0 comments on commit ab7f5a0

Please sign in to comment.