From ca6c01e0e4d6f1b10a52513554ab61fba366e8ba Mon Sep 17 00:00:00 2001 From: amd64fox <62529699+amd64fox@users.noreply.github.com> Date: Sun, 4 Jun 2023 04:19:59 +0300 Subject: [PATCH] upd discriptions + added disclaimer --- Install.ps1 | 10 ++++++++++ README.md | 8 ++++++-- patches/patches.json | 5 ++++- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/Install.ps1 b/Install.ps1 index fa36dec..969cc3d 100644 --- a/Install.ps1 +++ b/Install.ps1 @@ -911,6 +911,16 @@ function Helper($paramname) { } "Discriptions" { # Add discriptions (xpui-desktop-modals.js) + + $svg_tg = $webjson.others.discriptions.svgtg + $svg_git = $webjson.others.discriptions.svggit + $svg_faq = $webjson.others.discriptions.svgfaq + $replace = $webjson.others.discriptions.replace + + $replacedText = $replace -f $svg_git, $svg_tg, $svg_faq + + $webjson.others.discriptions.replace = '$1"' + $replacedText + '"})' + $name = "patches.json.others." $n = "xpui-desktop-modals.js" $contents = "discriptions" diff --git a/README.md b/README.md index 9a90927..abaa4ca 100644 --- a/README.md +++ b/README.md @@ -184,8 +184,12 @@ or

FAQ

-- Read [FAQ](https://telegra.ph/SpotX-FAQ-09-19) + Read [FAQ](https://telegra.ph/SpotX-FAQ-09-19)

Credits

-- Some tricks were taken from spicetify-cli, many thanks to the contributors + Some tricks were taken from spicetify-cli, many thanks to the contributors. + +

Disclaimer

+ + SpotX is a modified version of the official Spotify client, provided as an evaluation version, you use it at your own risk. diff --git a/patches/patches.json b/patches/patches.json index d486813..91c5f63 100644 --- a/patches/patches.json +++ b/patches/patches.json @@ -80,7 +80,10 @@ "to": "" }, "match": "((..createElement|children:\\(.{1,7}\\))\\(.{1,7},{source:).{1,7}get\\(\"about.copyright\",.\\),paragraphClassName:.}\\)", - "replace": "$1\"

More about SpotX

Github
FAQ
Telegram channel
Create an issue report

DISCLAIMER

SpotX is a modified version of the official Spotify client, provided as an evaluation version, you use it at your own risk.\"})" + "replace": "

More about SpotX


{0} GithubSpotX-Windows
SpotX-Mac/Linux

{1} TelegramSpotX Community
SpotX Channel

{2} FAQWindows
Mac/Linux

DISCLAIMER

SpotX is a modified version of the official Spotify client, provided as an evaluation version, you use it at your own risk.", + "svgtg": "", + "svggit": "", + "svgfaq": "" }, "ForcedExp": { "version": {