From 541dfaba5cdc9229bba7875be050b47add932cf5 Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Tue, 19 Dec 2023 14:21:23 -0600 Subject: [PATCH] Update Get-Oscdimg.ps1 --- functions/private/Get-Oscdimg.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/functions/private/Get-Oscdimg.ps1 b/functions/private/Get-Oscdimg.ps1 index e4573d27..41116dea 100644 --- a/functions/private/Get-Oscdimg.ps1 +++ b/functions/private/Get-Oscdimg.ps1 @@ -11,8 +11,7 @@ function Get-Oscdimg { $oscdimgPath = "$env:TEMP\oscdimg.exe" ) - $githubUserName = "ChrisTitusTech" - $downloadUrl = "https://github.com/$githubUserName/winutil/releases/oscdimg.exe" + $downloadUrl = "https://github.com/ChrisTitusTech/winutil/raw/main/releases/oscdimg.exe" Invoke-RestMethod -Uri $downloadUrl -OutFile $oscdimgPath $hashResult = Get-FileHash -Path $oscdimgPath -Algorithm SHA256 $sha256Hash = $hashResult.Hash