mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-12-22 05:51:30 -06:00
Update Get-Oscdimg.ps1
This commit is contained in:
parent
d6935f8ac0
commit
541dfaba5c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user