From c258310690b19d55656e91177b62f18c295b491c Mon Sep 17 00:00:00 2001 From: Friedrich Weinmann Date: Tue, 9 Sep 2025 19:32:55 +0200 Subject: [PATCH 1/2] fixed download url --- bootstrap.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap.ps1 b/bootstrap.ps1 index 93bacba..86b418a 100644 --- a/bootstrap.ps1 +++ b/bootstrap.ps1 @@ -47,7 +47,7 @@ function Find-GalleryModule { [PSCustomObject]@{ Name = $moduleName Version = $latest.Version - Link = 'https://psg-prod-eastus.azureedge.net/packages/{0}.{1}.nupkg' -f $moduleName.ToLower(), $latest.Version + Link = 'https://cdn.powershellgallery.com/packages/{0}.{1}.nupkg' -f $moduleName.ToLower(), $latest.Version } } } From bf740075d3929c022c634b3d3b13ae99682e275c Mon Sep 17 00:00:00 2001 From: Friedrich Weinmann Date: Mon, 12 Jan 2026 15:02:42 +0100 Subject: [PATCH 2/2] Add -UseBasicParsing to Invoke-WebRequest --- bootstrap.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap.ps1 b/bootstrap.ps1 index 86b418a..989efee 100644 --- a/bootstrap.ps1 +++ b/bootstrap.ps1 @@ -76,7 +76,7 @@ function Install-GalleryModule { $ProgressPreference = 'SilentlyContinue' $staging = New-Item -Path $env:TEMP -Name "PSMS-$(Get-Random)" -ItemType Directory - Invoke-WebRequest -Uri $Module.Link -OutFile "$($staging.FullName)\$($Module.Name).zip" -ErrorAction Stop + Invoke-WebRequest -Uri $Module.Link -OutFile "$($staging.FullName)\$($Module.Name).zip" -UseBasicParsing -ErrorAction Stop Expand-Archive -Path "$($staging.FullName)\$($Module.Name).zip" -DestinationPath $staging.FullName -ErrorAction Stop # Remove undesired parts @@ -98,4 +98,4 @@ function Install-GalleryModule { $modules = Find-GalleryModule -Name PSFramework, ConvertToPSD1, PSFramework.NuGet foreach ($module in $modules) { Install-GalleryModule -Module $module -} \ No newline at end of file +}