diff --git a/.github/ISSUE_TEMPLATE/installer-translation.md b/.github/ISSUE_TEMPLATE/installer-translation.md index b73992d..9ee1413 100644 --- a/.github/ISSUE_TEMPLATE/installer-translation.md +++ b/.github/ISSUE_TEMPLATE/installer-translation.md @@ -28,60 +28,60 @@ Good luck to you. ## 📝 Translation strings ```txt - Author = Author: - Incorrect = Oops, an incorrect value, - Incorrect2 = enter again through - CuttError = Request error in cutt - Download = Error downloading - Download2 = Will re-request in 5 seconds... - Download3 = Error again - Download4 = Try to check your internet connection and run the installation again - Download5 = Downloading Spotify - StopScrpit = Script is stopped - MsSpoti = The Microsoft Store version of Spotify has been detected which is not supported - MsSpoti2 = Uninstall Spotify Windows Store edition [Y/N] - MsSpoti3 = Automatic uninstalling Spotify MS... - MsSpoti4 = Uninstalling Spotify MS... - Prem = Modification for premium account... - DownBts = Downloading latest patch BTS... - OldV = Found outdated version of Spotify - OldV2 = Your Spotify {0} version is outdated, it is recommended to upgrade to {1} - OldV3 = Want to update ? [Y/N] - 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] - DelOld = Uninstalling old Spotify... - NewV = Unsupported version of Spotify found - 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] - Recom = Do you want to install the recommended {0} version ? [Y/N] - DelNew = Uninstalling an untested Spotify... - DownSpoti = Downloading and installing Spotify - DownSpoti2 = Please wait... - PodcatsOff = Off Podcasts - PodcastsOn = On Podcasts - PodcatsSelect = Want to turn off podcasts ? [Y/N] - DowngradeNote = It is recommended to block because there was a downgrade of Spotify - UpdBlock = Updates blocked - UpdUnblock = Updates are not blocked - UpdSelect = Want to block updates ? [Y/N] - CacheOn = Clear cache enabled ({0}) - CacheOff = Clearing the cache is not enabled - CacheSelect = Want to set up automatic cache cleanup? [Y/N] - CacheDays = Cache older: XX days to be cleared - CacheDays2 = Enter the number of days from 1 to 100 - NoVariable = Didn't find variable - NoVariable2 = in xpui.js - NoVariable3 = in licenses.html - NoVariable4 = in html - ModSpoti = Patching Spotify... - Error = Error - FileLocBroken = Location of Spotify files is broken, uninstall the client and run the script again - 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 - ExpOff = Experimental features disabled - 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 - UpdateError = Failed to block updates - NoSpotifyExe = Could not find Spotify.exe - InstallComplete = installation completed + Author = "Author:" + Incorrect = "Oops, an incorrect value," + Incorrect2 = "enter again through " + CuttError = "Request error in cutt" + Download = "Error downloading" + Download2 = "Will re-request in 5 seconds..." + Download3 = "Error again" + Download4 = "Try to check your internet connection and run the installation again" + Download5 = "Downloading Spotify" + StopScrpit = "Script is stopped" + MsSpoti = "The Microsoft Store version of Spotify has been detected which is not supported" + MsSpoti2 = "Uninstall Spotify Windows Store edition [Y/N]" + MsSpoti3 = "Automatic uninstalling Spotify MS..." + MsSpoti4 = "Uninstalling Spotify MS..." + Prem = "Modification for premium account..." + DownBts = "Downloading latest patch BTS..." + OldV = "Found outdated version of Spotify" + OldV2 = "Your Spotify {0} version is outdated, it is recommended to upgrade to {1}" + OldV3 = "Want to update ? [Y/N]" + 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]" + DelOld = "Uninstalling old Spotify..." + NewV = "Unsupported version of Spotify found" + 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]" + Recom = "Do you want to install the recommended {0} version ? [Y/N]" + DelNew = "Uninstalling an untested Spotify..." + DownSpoti = "Downloading and installing Spotify" + DownSpoti2 = "Please wait..." + PodcatsOff = "Off Podcasts" + PodcastsOn = "On Podcasts" + PodcatsSelect = "Want to turn off podcasts ? [Y/N]" + DowngradeNote = "It is recommended to block because there was a downgrade of Spotify" + UpdBlock = "Updates blocked" + UpdUnblock = "Updates are not blocked" + UpdSelect = "Want to block updates ? [Y/N]" + CacheOn = "Clear cache enabled ({0})" + CacheOff = "Clearing the cache is not enabled" + CacheSelect = "Want to set up automatic cache cleanup? [Y/N]" + CacheDays = "Cache older: XX days to be cleared " + CacheDays2 = "Enter the number of days from 1 to 100" + NoVariable = "Didn't find variable" + NoVariable2 = "in xpui.js" + NoVariable3 = "in licenses.html" + NoVariable4 = "in html" + ModSpoti = "Patching Spotify..." + Error = "Error" + FileLocBroken = "Location of Spotify files is broken, uninstall the client and run the script again" + 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" + ExpOff = "Experimental features disabled" + 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" + UpdateError = "Failed to block updates" + NoSpotifyExe = "Could not find Spotify.exe" + InstallComplete = "installation completed" ``` diff --git a/Install.bat b/Install.bat index 5b706d0..a33cfb5 100644 --- a/Install.bat +++ b/Install.bat @@ -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 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 ( 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 if "!STATUS_CODE!" EQU "200 " ( 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 ( echo Error again @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 if "!STATUS_CODE!" EQU "200 " ( 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 ( echo Error again @echo. diff --git a/README.md b/README.md index 5d8ff14..6e95c6b 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ * OS: Windows 7-11 -* Spotify: Recommended official version [1.1.89.858](https://cutt.ly/8EH6NuH) +* Spotify: Recommended official version [1.1.89.862](https://cutt.ly/8EH6NuH) * For Windows Desktop only (Microsoft store version is not suitable). * PowerShell: 3 or higher @@ -53,7 +53,7 @@ or * Run The following command in PowerShell: ```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) }" ```