From dc1d574b465f999882dc9ac6239cf57d041a0f79 Mon Sep 17 00:00:00 2001 From: amd64fox Date: Tue, 8 Nov 2022 20:08:05 +0300 Subject: [PATCH] minor fixes - fix id - fixed incorrect error output for podcasts --- Install.ps1 | 7 ++++--- scripts/installer-lang/id.ps1 | 6 ------ 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/Install.ps1 b/Install.ps1 index 497b9ef..b2bab50 100644 --- a/Install.ps1 +++ b/Install.ps1 @@ -1002,9 +1002,10 @@ function Helper($paramname) { "OffPodcasts" { # Turn off podcasts $n = $js - if ($ofline -le "1.1.92.647") { $podcats = "podcastsoff"; $name = "patches.json.others.podcastsoff" } - if ($ofline -ge "1.1.93.896" -and $ofline -le "1.1.96.785") { $podcats = "podcastsoff2"; $name = "patches.json.others.podcastsoff2" } - if ($ofline -ge "1.1.97.952") { $podcats = "podcastsoff3"; $name = "patches.json.others.podcastsoff3" } + if ($ofline -le "1.1.92.647") { $podcats = "podcastsoff" } + if ($ofline -ge "1.1.93.896" -and $ofline -le "1.1.96.785") { $podcats = "podcastsoff2" } + if ($ofline -ge "1.1.97.952") { $podcats = "podcastsoff3" } + $name = "patches.json.others." $contents = $podcats $json = $webjson.others $paramdata = $xpui_podcast diff --git a/scripts/installer-lang/id.ps1 b/scripts/installer-lang/id.ps1 index 7c47837..596c68e 100644 --- a/scripts/installer-lang/id.ps1 +++ b/scripts/installer-lang/id.ps1 @@ -42,12 +42,6 @@ CacheSelect = "Ingin mengatur pembersihan cache otomatis? [Y/N]" CacheDays = "Cache yang lebih lama: XX hari untuk dibersihkan " CacheDays2 = "Masukkan jumlah hari dari 1 hingga 100" - NoVariable = "Tidak menemukan variabel" - NoVariable2 = "di xpui.js" - NoVariable3 = "di licenses.html" - NoVariable4 = "di html" - NoVariable5 = "di home-v2.js" - NoVariable6 = "di xpui-desktop-modals.js" ModSpoti = "Menambal Spotify..." Error = "Kesalahan" FileLocBroken = "Lokasi file Spotify rusak, hapus instalan klien dan jalankan skrip lagi"