Skip to content

Commit

Permalink
updated windows installer.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
Fixstars-momoko committed Jul 22, 2024
1 parent 608dec8 commit f0e3fa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installer/tools/installer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function CheckSDKVersion(){

try {
# Write-Host "https://github.com/$repositoryName/releases/$sdkversion"
$response = Invoke-WebRequest -Uri "https://github.com/$repositoryName/releases/$sdkversion" -ErrorAction Stop
$response = Invoke-WebRequest -Uri "https://github.com/$repositoryName/releases/tag/$sdkversion" -ErrorAction Stop

if ($response.StatusCode -ne 200){
Write-Error "Version $sdkversion does not exist"
Expand Down

0 comments on commit f0e3fa6

Please sign in to comment.