Merge branch 'amd64fox:main' into Language-Function

This commit is contained in:
Dustin Dembeck
2022-07-08 17:33:02 -07:00
committed by GitHub
3 changed files with 61 additions and 61 deletions
+56 -56
View File
@@ -28,60 +28,60 @@ Good luck to you.
## 📝 Translation strings ## 📝 Translation strings
```txt ```txt
Author = Author: Author = "Author:"
Incorrect = Oops, an incorrect value, Incorrect = "Oops, an incorrect value,"
Incorrect2 = enter again through Incorrect2 = "enter again through "
CuttError = Request error in cutt CuttError = "Request error in cutt"
Download = Error downloading Download = "Error downloading"
Download2 = Will re-request in 5 seconds... Download2 = "Will re-request in 5 seconds..."
Download3 = Error again Download3 = "Error again"
Download4 = Try to check your internet connection and run the installation again Download4 = "Try to check your internet connection and run the installation again"
Download5 = Downloading Spotify Download5 = "Downloading Spotify"
StopScrpit = Script is stopped StopScrpit = "Script is stopped"
MsSpoti = The Microsoft Store version of Spotify has been detected which is not supported MsSpoti = "The Microsoft Store version of Spotify has been detected which is not supported"
MsSpoti2 = Uninstall Spotify Windows Store edition [Y/N] MsSpoti2 = "Uninstall Spotify Windows Store edition [Y/N]"
MsSpoti3 = Automatic uninstalling Spotify MS... MsSpoti3 = "Automatic uninstalling Spotify MS..."
MsSpoti4 = Uninstalling Spotify MS... MsSpoti4 = "Uninstalling Spotify MS..."
Prem = Modification for premium account... Prem = "Modification for premium account..."
DownBts = Downloading latest patch BTS... DownBts = "Downloading latest patch BTS..."
OldV = Found outdated version of Spotify OldV = "Found outdated version of Spotify"
OldV2 = Your Spotify {0} version is outdated, it is recommended to upgrade to {1} OldV2 = "Your Spotify {0} version is outdated, it is recommended to upgrade to {1}"
OldV3 = Want to update ? [Y/N] OldV3 = "Want to update ? [Y/N]"
AutoUpd = Automatic update to the recommended version AutoUpd = "Automatic update to the recommended version"
DelOrOver = Do you want to uninstall the current version of {0} or install over it? Y [Uninstall] / N [Install Over] DelOrOver = "Do you want to uninstall the current version of {0} or install over it? Y [Uninstall] / N [Install Over]"
DelOld = Uninstalling old Spotify... DelOld = "Uninstalling old Spotify..."
NewV = Unsupported version of Spotify found NewV = "Unsupported version of Spotify found"
NewV2 = Your Spotify {0} version hasn't been tested yet, currently it's a stable {1} version NewV2 = "Your Spotify {0} version hasn't been tested yet, currently it's a stable {1} version"
NewV3 = Do you want to continue with {0} version (errors possible) ? [Y/N] NewV3 = "Do you want to continue with {0} version (errors possible) ? [Y/N]"
Recom = Do you want to install the recommended {0} version ? [Y/N] Recom = "Do you want to install the recommended {0} version ? [Y/N]"
DelNew = Uninstalling an untested Spotify... DelNew = "Uninstalling an untested Spotify..."
DownSpoti = Downloading and installing Spotify DownSpoti = "Downloading and installing Spotify"
DownSpoti2 = Please wait... DownSpoti2 = "Please wait..."
PodcatsOff = Off Podcasts PodcatsOff = "Off Podcasts"
PodcastsOn = On Podcasts PodcastsOn = "On Podcasts"
PodcatsSelect = Want to turn off podcasts ? [Y/N] PodcatsSelect = "Want to turn off podcasts ? [Y/N]"
DowngradeNote = It is recommended to block because there was a downgrade of Spotify DowngradeNote = "It is recommended to block because there was a downgrade of Spotify"
UpdBlock = Updates blocked UpdBlock = "Updates blocked"
UpdUnblock = Updates are not blocked UpdUnblock = "Updates are not blocked"
UpdSelect = Want to block updates ? [Y/N] UpdSelect = "Want to block updates ? [Y/N]"
CacheOn = Clear cache enabled ({0}) CacheOn = "Clear cache enabled ({0})"
CacheOff = Clearing the cache is not enabled CacheOff = "Clearing the cache is not enabled"
CacheSelect = Want to set up automatic cache cleanup? [Y/N] CacheSelect = "Want to set up automatic cache cleanup? [Y/N]"
CacheDays = Cache older: XX days to be cleared CacheDays = "Cache older: XX days to be cleared "
CacheDays2 = Enter the number of days from 1 to 100 CacheDays2 = "Enter the number of days from 1 to 100"
NoVariable = Didn't find variable NoVariable = "Didn't find variable"
NoVariable2 = in xpui.js NoVariable2 = "in xpui.js"
NoVariable3 = in licenses.html NoVariable3 = "in licenses.html"
NoVariable4 = in html NoVariable4 = "in html"
ModSpoti = Patching Spotify... ModSpoti = "Patching Spotify..."
Error = Error Error = "Error"
FileLocBroken = Location of Spotify files is broken, uninstall the client and run the script again FileLocBroken = "Location of Spotify files is broken, uninstall the client and run the script again"
Spicetify = Spicetify detected Spicetify = "Spicetify detected"
NoRestore = SpotX has already been installed, xpui.js and xpui.css not found. `nPlease uninstall Spotify client and run Install.bat again NoRestore = "SpotX has already been installed, xpui.js and xpui.css not found. `nPlease uninstall Spotify client and run Install.bat again"
ExpOff = Experimental features disabled ExpOff = "Experimental features disabled"
NoRestore2 = SpotX has already been installed, xpui.bak not found. `nPlease uninstall Spotify client and run Install.bat again NoRestore2 = "SpotX has already been installed, xpui.bak not found. `nPlease uninstall Spotify client and run Install.bat again"
UpdateBlocked = Spotify updates are already blocked UpdateBlocked = "Spotify updates are already blocked"
UpdateError = Failed to block updates UpdateError = "Failed to block updates"
NoSpotifyExe = Could not find Spotify.exe NoSpotifyExe = "Could not find Spotify.exe"
InstallComplete = installation completed InstallComplete = "installation completed"
``` ```
+3 -3
View File
@@ -25,7 +25,7 @@ if %errorlevel% EQU 9009 (
) )
for /f %%i in ('curl --write-out %%{http_code} --silent --output /dev/null --insecure https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1') do set STATUS_CODE=%%i 2>nul for /f %%i in ('curl --write-out %%{http_code} --silent --output /dev/null --insecure https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1') do set STATUS_CODE=%%i 2>nul
if %STATUS_CODE% EQU 200 ( if %STATUS_CODE% EQU 200 (
powershell -Command "& {[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}"; "& {(Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content | Invoke-Expression}" powershell -Command "&{[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}; """"& { $((Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content)} """" | Invoke-Expression"
) )
if %STATUS_CODE% LSS 1 ( if %STATUS_CODE% LSS 1 (
echo No network connection echo No network connection
@@ -36,7 +36,7 @@ if %STATUS_CODE% LSS 1 (
for /f %%i in ('curl --write-out %%{http_code} --silent --output /dev/null --insecure https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1') do set STATUS_CODE=%%i 2>nul for /f %%i in ('curl --write-out %%{http_code} --silent --output /dev/null --insecure https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1') do set STATUS_CODE=%%i 2>nul
if "!STATUS_CODE!" EQU "200 " ( if "!STATUS_CODE!" EQU "200 " (
cls cls
powershell -Command "& {[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}"; "& {(Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content | Invoke-Expression}" powershell -Command "&{[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}; """"& { $((Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content)} """" | Invoke-Expression"
) else ( ) else (
echo Error again echo Error again
@echo. @echo.
@@ -59,7 +59,7 @@ if %STATUS_CODE% GTR 100 if not %STATUS_CODE% EQU 200 (
for /f %%i in ('curl --write-out %%{http_code} --silent --output /dev/null --insecure https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1') do set STATUS_CODE=%%i 2>nul for /f %%i in ('curl --write-out %%{http_code} --silent --output /dev/null --insecure https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1') do set STATUS_CODE=%%i 2>nul
if "!STATUS_CODE!" EQU "200 " ( if "!STATUS_CODE!" EQU "200 " (
cls cls
powershell -Command "& {[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}"; "& {(Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content | Invoke-Expression}" powershell -Command "&{[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}; """"& { $((Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content)} """" | Invoke-Expression"
) else ( ) else (
echo Error again echo Error again
@echo. @echo.
+2 -2
View File
@@ -15,7 +15,7 @@
* <strong>OS: Windows 7-11</strong> * <strong>OS: Windows 7-11</strong>
* <strong>Spotify: Recommended official version [1.1.89.858](https://cutt.ly/8EH6NuH)</strong> * <strong>Spotify: Recommended official version [1.1.89.862](https://cutt.ly/8EH6NuH)</strong>
* <strong>For Windows Desktop only (Microsoft store version is not suitable).</strong> * <strong>For Windows Desktop only (Microsoft store version is not suitable).</strong>
* <strong>PowerShell: 3 or higher</strong> * <strong>PowerShell: 3 or higher</strong>
@@ -53,7 +53,7 @@ or
* Run The following command in PowerShell: * Run The following command in PowerShell:
```ps1 ```ps1
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (iwr -useb 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content | iex [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; iex "& { $((iwr -useb 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content) }"
``` ```
</details> </details>