returned raw.githubusercontent.com

This commit is contained in:
amd64fox
2023-08-28 01:26:32 +03:00
parent 6be3db4763
commit 45b7622f66
6 changed files with 16 additions and 16 deletions
+3 -3
View File
@@ -263,7 +263,7 @@ if ($psv -ge 7) {
function CallLang($clg) {
$urlLang = "https://cdn.statically.io/gh/amd64fox/SpotX/main/scripts/installer-lang/$clg.ps1"
$urlLang = "https://raw.githubusercontent.com/amd64fox/SpotX/main/scripts/installer-lang/$clg.ps1"
$ProgressPreference = 'SilentlyContinue'
try {
@@ -285,7 +285,7 @@ $lang = CallLang -clg $langCode
# Set variable 'ru'.
if ($langCode -eq 'ru') {
$ru = $true
$urlru = "https://cdn.statically.io/gh/amd64fox/SpotX/main/patches/Augmented%20translation/ru.json"
$urlru = "https://raw.githubusercontent.com/amd64fox/SpotX/main/patches/Augmented%20translation/ru.json"
$webjsonru = (Invoke-WebRequest -useb -Uri $urlru).Content | ConvertFrom-Json
}
@@ -871,7 +871,7 @@ if ($ch -eq 'n') {
$ch = $null
$url = "https://cdn.statically.io/gh/amd64fox/SpotX/main/patches/patches.json"
$url = "https://raw.githubusercontent.com/amd64fox/SpotX/main/patches/patches.json"
$retries = 0
while ($retries -lt 3) {