Fixed run.ps1 download option
All checks were successful
release / build-base (push) Successful in 12m32s
release / build-analog-xk (push) Successful in 31m38s
release / build-digital-icarus (push) Successful in 25m11s
release / build-digital-ator (push) Successful in 26m0s
release / build-analog-xm (push) Successful in 31m21s
release / build-digital-heavy (push) Successful in 24m20s
release / build-analog-heavy (push) Successful in 32m2s
release / build-heavy (push) Successful in 30m10s
release / build-chipathon-tools (push) Successful in 28m42s

This commit is contained in:
Aquiles Viza 2023-11-14 16:31:12 -03:00
parent 02bec29f55
commit 1e5601bb33

View File

@ -193,7 +193,7 @@ function download-run-bat () {
if (!$download) { return }
try {
$response = Call "Invoke-WebRequest -URI https://git.1159.cl/Mario1159/osic-stacks/src/branch/main/run.ps1"
$response = Call "Invoke-WebRequest -URI https://git.1159.cl/Mario1159/osic-stacks/raw/branch/main/run.ps1"
} catch {
$StatusCode = $_.Exception.Response.StatusCode.value__
Write-Host "Error downloading file :( ($($StatusCode))" -ForegroundColor Red