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