mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-06-19 13:50:04 +10:00
returned raw.githubusercontent.com
This commit is contained in:
+3
-3
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user