Skip to content

Commit 05a6922

Browse files
committed
Fix build script bootstrap using WebClient over iwr
1 parent 609e96e commit 05a6922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ if ((Test-Path "$pwd\src\patch.amd.yml") -or
3939
}
4040

4141
icm `
42-
-ScriptBlock $([Scriptblock]::Create($(iwr 'https://raw.githubusercontent.com/Qonfused/OCE-Build/main/ci/bootstrap.ps1'))) `
42+
-ScriptBlock $([Scriptblock]::Create([System.Net.WebClient]::new().DownloadString('https://raw.githubusercontent.com/Qonfused/OCE-Build/main/ci/bootstrap.ps1'))) `
4343
-ArgumentList (@("build -c $pwd $($patches -join ' ') $($arguments -join ' ')"))
4444

4545
# Run the post-build script

0 commit comments

Comments
 (0)