mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-06-20 14:10:54 +10:00
fix url
This commit is contained in:
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
+2
-2
@@ -260,7 +260,7 @@ $lang = CallLang -clg $langCode
|
|||||||
# Set variable 'ru'.
|
# Set variable 'ru'.
|
||||||
if ($langCode -eq 'ru') {
|
if ($langCode -eq 'ru') {
|
||||||
$ru = $true
|
$ru = $true
|
||||||
$urlru = "https://raw.githubusercontent.com/SpotX-CLI/SpotX-commons/main/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
|
$webjsonru = (Invoke-WebRequest -useb -Uri $urlru).Content | ConvertFrom-Json
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -847,7 +847,7 @@ if (!($cache_on) -and !($cache_off)) {
|
|||||||
if ($exp_standart) { Write-Host ($lang).ExpStandart`n }
|
if ($exp_standart) { Write-Host ($lang).ExpStandart`n }
|
||||||
if ($exp_spotify) { Write-Host ($lang).ExpSpotify`n }
|
if ($exp_spotify) { Write-Host ($lang).ExpSpotify`n }
|
||||||
|
|
||||||
$url = "https://raw.githubusercontent.com/SpotX-CLI/SpotX-commons/main/patches.json"
|
$url = "https://raw.githubusercontent.com/amd64fox/SpotX/main/patches/patches.json"
|
||||||
$webjson = (Invoke-WebRequest -useb -Uri $url).Content | ConvertFrom-Json
|
$webjson = (Invoke-WebRequest -useb -Uri $url).Content | ConvertFrom-Json
|
||||||
|
|
||||||
function Helper($paramname) {
|
function Helper($paramname) {
|
||||||
|
|||||||
Reference in New Issue
Block a user