diff --git a/.github/ISSUE_TEMPLATE/installer-new-translation.yml b/.github/ISSUE_TEMPLATE/installer-new-translation.yml index 7951ffd..ede812b 100644 --- a/.github/ISSUE_TEMPLATE/installer-new-translation.yml +++ b/.github/ISSUE_TEMPLATE/installer-new-translation.yml @@ -7,7 +7,7 @@ body: attributes: label: What language do you want to translate into? description: Also note the already added languages - placeholder: e.g. English + placeholder: e.g. English validations: required: true - type: input @@ -26,8 +26,8 @@ body: - Translation strings start after an equals sign and are enclosed in quotation marks - There are variables before the equal sign, they do not need to be translated. - Also, if you come across characters {0}, {1}, [Y/N] or file names, then just skip them. - - Good luck to you. + + Good luck to you. value: | Welcome = " ╔══════════════════════════════╗ @@ -46,17 +46,13 @@ body: MsSpoti3 = "Automatically uninstalling Spotify MS..." MsSpoti4 = "Uninstalling Spotify MS..." Prem = "Modification for premium account..." - OldV = "Found outdated version of Spotify" OldV2 = "Your Spotify version ({0}) is outdated, the current latest version is — {1}" OldV3 = "Want to update ? [Y/N]" - AutoUpd = "Automatic update to the recommended version" DelOrOver = "Remove the current version ({0}) or install over it? Y [Remove] / N [Install Over]" - DelOld = "Uninstalling old Spotify..." - NewV = "Unsupported version of Spotify found" + DelSpotify = "Uninstalling Spotify..." NewV2 = "Your Spotify version ({0}) has not been tested. The stable version for SpotX is {1}" NewV3 = "Continue with {0} (errors may occur) ? [Y/N]" Recom = "Install the latest version {0} ? [Y/N]" - DelNew = "Uninstalling an untested Spotify..." DownSpoti = "Downloading and installing Spotify" DownSpoti2 = "Please wait..." PodcatsOff = "Off Podcasts" @@ -75,7 +71,7 @@ body: HostInfo = "Unwanted URLs found in hosts file" HostBak = "Backing up hosts.bak..." HostDel = "Trying to remove unwanted URLs from the original hosts file..." - HostError = "Something went wrong while editing the hosts file, edit it manually or run the script as administrator" - render: txt + HostError = "Something went wrong while editing the hosts file, edit it manually or run the script as administrator" + render: txt validations: - required: true + required: true diff --git a/patches/patches.json b/patches/patches.json index 89ba074..831eff1 100644 --- a/patches/patches.json +++ b/patches/patches.json @@ -796,6 +796,14 @@ "fr": "1.2.88", "to": "" } + }, + "ad_reporting": { + "name": "enable_ad_reporting", + "description": "Gates the report ad menu item in the ad overflow context menu", + "version": { + "fr": "1.2.89", + "to": "" + } } }, "EnableExp": { @@ -1913,6 +1921,14 @@ "fr": "1.2.86", "to": "" } + }, + "LikedSongsMakePlaylist": { + "name": "enableLikedSongsMakePlaylist", + "native_description": "Show 'Make this a playlist' button when filtering Liked Songs by genre", + "version": { + "fr": "1.2.89", + "to": "" + } } }, "CustomExp": { diff --git a/run.ps1 b/run.ps1 index eda9edd..177610c 100644 --- a/run.ps1 +++ b/run.ps1 @@ -2,7 +2,7 @@ param ( [Parameter(HelpMessage = 'Latest recommended Spotify version for Windows 10+.')] - [string]$latest_full = "1.2.88.485.g1012a6e0", + [string]$latest_full = "1.2.89", [Parameter(HelpMessage = 'Latest supported Spotify version for Windows 7-8.1')] [string]$last_win7_full = "1.2.5.1006.g22820f93", @@ -16,7 +16,7 @@ param [ValidateSet('curl', 'webclient')] [string]$download_method, - [Parameter(HelpMessage = "Change recommended Spotify version. Example: 1.2.85.519.g549a528b.")] + [Parameter(HelpMessage = "Change recommended Spotify version. Example: 1.2.88 or 1.2.88.485.g1012a6e0.")] [Alias("v")] [string]$version, @@ -43,40 +43,40 @@ param [Parameter(HelpMessage = 'Disable canvas from homepage')] [switch]$canvashome_off, - + [Parameter(HelpMessage = 'Do not disable podcasts/episodes/audiobooks from homepage.')] [switch]$podcasts_on, - + [Parameter(HelpMessage = 'Block Spotify automatic updates.')] [switch]$block_update_on, - + [Parameter(HelpMessage = 'Do not block Spotify automatic updates.')] [switch]$block_update_off, - + [Parameter(HelpMessage = 'Change limit for clearing audio cache.')] [Alias('cl')] [int]$cache_limit, - + [Parameter(HelpMessage = 'Automatic uninstallation of Spotify MS if it was found.')] [switch]$confirm_uninstall_ms_spoti, - + [Parameter(HelpMessage = 'Overwrite outdated or unsupported version of Spotify with the recommended version.')] [Alias('sp-over')] [switch]$confirm_spoti_recomended_over, - + [Parameter(HelpMessage = 'Uninstall outdated or unsupported version of Spotify and install the recommended version.')] [Alias('sp-uninstall')] [switch]$confirm_spoti_recomended_uninstall, - + [Parameter(HelpMessage = 'Installation without ad blocking for premium accounts.')] [switch]$premium, [Parameter(HelpMessage = 'Disable Spotify autostart on Windows boot.')] [switch]$DisableStartup, - + [Parameter(HelpMessage = 'Automatic launch of Spotify after installation is complete.')] [switch]$start_spoti, - + [Parameter(HelpMessage = 'Experimental features operated by Spotify.')] [switch]$exp_spotify, @@ -88,10 +88,10 @@ param [Parameter(HelpMessage = 'disable subfeed filter chips on home.')] [switch]$homesub_off, - + [Parameter(HelpMessage = 'Do not hide the icon of collaborations in playlists.')] [switch]$hide_col_icon_off, - + [Parameter(HelpMessage = 'Disable new right sidebar.')] [switch]$rightsidebar_off, @@ -131,7 +131,7 @@ param [Parameter(HelpMessage = 'Error log ru string.')] [switch]$err_ru, - + [Parameter(HelpMessage = 'Select the desired language to use for installation. Default is the detected system language.')] [Alias('l')] [string]$language, @@ -145,7 +145,7 @@ param $PSDefaultParameterValues['Stop-Process:ErrorAction'] = [System.Management.Automation.ActionPreference]::SilentlyContinue function Format-LanguageCode { - + # Normalizes and confirms support of the selected language. [CmdletBinding()] [OutputType([string])] @@ -153,13 +153,13 @@ function Format-LanguageCode { ( [string]$LanguageCode ) - + $supportLanguages = @( - 'be', 'bn', 'cs', 'de', 'el', 'en', 'es', 'fa', 'fi', 'fil', 'fr', 'hi', 'hu', + 'be', 'bn', 'cs', 'de', 'el', 'en', 'es', 'fa', 'fi', 'fil', 'fr', 'hi', 'hu', 'id', 'it', 'ja', 'ka', 'ko', 'lv', 'pl', 'pt', 'ro', 'ru', 'sk', 'sr', 'sr-Latn', 'sv', 'ta', 'tr', 'uk', 'vi', 'zh', 'zh-TW' ) - + # Trim the language code down to two letter code. switch -Regex ($LanguageCode) { '^be' { @@ -300,12 +300,12 @@ function Format-LanguageCode { break } } - + # Checking the long language code if ($long_code -and $returnCode -NotIn $supportLanguages) { if ($returnCode -match '-') { $intermediateCode = $returnCode.Substring(0, $returnCode.LastIndexOf('-')) - + if ($intermediateCode -in $supportLanguages) { $returnCode = $intermediateCode } @@ -319,8 +319,8 @@ function Format-LanguageCode { $returnCode = 'en' } - return $returnCode -} + return $returnCode +} $spotifyDirectory = Join-Path $env:APPDATA 'Spotify' $spotifyDirectory2 = Join-Path $env:LOCALAPPDATA 'Spotify' @@ -331,7 +331,7 @@ if ($SpotifyPath) { } $spotifyExecutable = Join-Path $spotifyDirectory 'Spotify.exe' $spotifyUninstaller = Join-Path $spotifyDirectory 'uninstall.exe' -$spotifyDll = Join-Path $spotifyDirectory 'Spotify.dll' +$spotifyDll = Join-Path $spotifyDirectory 'Spotify.dll' $chrome_elf = Join-Path $spotifyDirectory 'chrome_elf.dll' $exe_bak = Join-Path $spotifyDirectory 'Spotify.bak' $dll_bak = Join-Path $spotifyDirectory 'Spotify.dll.bak' @@ -385,7 +385,7 @@ function Get-Link { function CallLang($clg) { $ProgressPreference = 'SilentlyContinue' - + try { $response = (iwr -Uri (Get-Link -e "/scripts/installer-lang/$clg.ps1") -UseBasicParsing).Content if ($mirror) { $response = [System.Text.Encoding]::UTF8.GetString($response) } @@ -487,20 +487,114 @@ function Get-SpotifyInstallerArchitecture { } } +function Test-SpotifyVersionRequiresResolution { + param( + [Parameter(Mandatory = $true)] + [string]$SpotifyVersion + ) + + return $SpotifyVersion -match '^\d+\.\d+\.\d+(?:\.\d+)?$' +} + +function Get-SpotifyVersionsManifest { + param( + [Parameter(Mandatory = $true)] + [string]$Url + ) + + $previousProgressPreference = $ProgressPreference + try { + $ProgressPreference = 'SilentlyContinue' + return Invoke-RestMethod -Uri $Url -UseBasicParsing -TimeoutSec 15 + } + catch { + throw "Failed to load Spotify versions manifest`nURL: $Url`n$($_.Exception.Message)" + } + finally { + $ProgressPreference = $previousProgressPreference + } +} + +function Resolve-SpotifyInstallerVersionFromManifest { + param( + [Parameter(Mandatory = $true)] + [object]$VersionsManifest, + [Parameter(Mandatory = $true)] + [string]$SpotifyVersion, + [Parameter(Mandatory = $true)] + [string]$Architecture + ) + + $versions = @($VersionsManifest.PSObject.Properties) + + if ($SpotifyVersion -match '^\d+\.\d+\.\d+$') { + $versionPrefix = "$SpotifyVersion." + $selectedVersion = $versions | + Where-Object { $_.Name.StartsWith($versionPrefix, [System.StringComparison]::Ordinal) } | + Sort-Object { [version]$_.Name } -Descending | + Select-Object -First 1 + } + else { + $selectedVersion = $versions | Where-Object { $_.Name -eq $SpotifyVersion } | Select-Object -First 1 + } + + if (!$selectedVersion) { + throw "Spotify version $SpotifyVersion was not found in versions manifest" + } + + $entry = $selectedVersion.Value + $fullVersion = [string]$entry.fullversion + if ($fullVersion -notmatch '^\d+\.\d+\.\d+\.\d+\.g[0-9a-f]{8}$') { + throw "Spotify version $($selectedVersion.Name) has invalid fullversion in versions manifest" + } + + $windowsAssets = $entry.win + $architectureAsset = if ($windowsAssets) { + $windowsAssets.PSObject.Properties[$Architecture] + } + else { + $null + } + + if (!$architectureAsset) { + throw "Spotify version $($selectedVersion.Name) does not have Windows $Architecture asset in versions manifest" + } + + $assetUrl = [string]$architectureAsset.Value.url + if (!$assetUrl) { + throw "Spotify version $($selectedVersion.Name) does not have Windows $Architecture URL in versions manifest" + } + + $expectedAssetName = "spotify_installer-$fullVersion-$Architecture.exe" + try { + $assetFileName = [System.IO.Path]::GetFileName(([Uri]$assetUrl).AbsolutePath) + } + catch { + $assetFileName = '' + } + + if ($assetFileName -ne $expectedAssetName) { + throw "Spotify version $($selectedVersion.Name) has unexpected Windows $Architecture asset in versions manifest" + } + + return $fullVersion +} + $spotifyDownloadBaseUrl = "https://loadspot.amd64fox1.workers.dev/download" $spotifyTemporaryDownloadBaseUrl = "https://loadspot.amd64fox1.workers.dev/temporary-download" $spotifyTemporaryDownloadVersion = "1.2.86.502.g8cd7fb22" +$spotifyVersionsManifestUrl = "https://raw.githubusercontent.com/LoaderSpot/table/refs/heads/main/table/versions.json" $systemArchitecture = Get-SystemArchitecture -$match_v = "^(?\d+\.\d+\.\d+\.\d+\.g[0-9a-f]{8})(?:-\d+)?$" +$match_v = "^(?\d+\.\d+\.\d+(?:\.\d+(?:\.g[0-9a-f]{8})?)?)(?:-\d+)?$" $versionIsSupported = $false if ($version) { if ($version -match $match_v) { $onlineFull = $Matches.version $versionIsSupported = $true } - else { - Write-Warning "Invalid $($version) format. Example: 1.2.13.661.ga588f749 (legacy -4064 suffix is optional)" + else { + Write-Warning "Invalid $($version) format. Example: 1.2.88 or 1.2.88.485.g1012a6e0 (legacy -4064 suffix is optional)" Write-Host } } @@ -512,14 +606,14 @@ $last_win7 = Get-SpotifyVersionNumber -SpotifyVersion $last_win7_full $last_x86 = Get-SpotifyVersionNumber -SpotifyVersion $last_x86_full if (-not $versionIsSupported) { - if ($old_os) { + if ($old_os) { $onlineFull = $last_win7_full } elseif ($systemArchitecture -eq 'x86') { $onlineFull = $last_x86_full } - else { - # latest tested version for Win 10-12 + else { + # latest tested version for Win 10-12 $onlineFull = $latest_full } } @@ -527,7 +621,7 @@ else { $requestedOnlineVersion = Get-SpotifyVersionNumber -SpotifyVersion $onlineFull if ($old_os) { - if ($requestedOnlineVersion -gt $last_win7) { + if ($requestedOnlineVersion -gt $last_win7) { Write-Warning ("Version {0} is only supported on Windows 10 and above" -f $requestedOnlineVersion) Write-Warning ("The recommended version has been automatically changed to {0}, the latest supported version for Windows 7-8.1" -f $last_win7) @@ -545,6 +639,29 @@ else { $requestedOnlineVersion = $last_x86 } } + +$onlineDownloadVersion = $onlineFull + +if (Test-SpotifyVersionRequiresResolution -SpotifyVersion $onlineFull) { + try { + $onlineInstallerArchitecture = Get-SpotifyInstallerArchitecture ` + -SystemArchitecture $systemArchitecture ` + -SpotifyVersion (Get-SpotifyVersionNumber -SpotifyVersion $onlineFull) ` + -LastX86SupportedVersion $last_x86 + + $spotifyVersionsManifest = Get-SpotifyVersionsManifest -Url $spotifyVersionsManifestUrl + + $onlineFull = Resolve-SpotifyInstallerVersionFromManifest ` + -VersionsManifest $spotifyVersionsManifest ` + -SpotifyVersion $onlineFull ` + -Architecture $onlineInstallerArchitecture + } + catch { + Write-Warning $_.Exception.Message + Stop-Script + } +} + $online = (Get-SpotifyVersionNumber -SpotifyVersion $onlineFull).ToString() @@ -622,14 +739,14 @@ function incorrectValue { Write-Host ($lang).Incorrect"" -ForegroundColor Red -NoNewline Write-Host ($lang).Incorrect2"" -NoNewline Start-Sleep -Milliseconds 1000 - Write-Host "3" -NoNewline + Write-Host "3" -NoNewline Start-Sleep -Milliseconds 1000 Write-Host " 2" -NoNewline Start-Sleep -Milliseconds 1000 Write-Host " 1" - Start-Sleep -Milliseconds 1000 + Start-Sleep -Milliseconds 1000 Clear-Host -} +} function Unlock-Folder { $blockFileUpdate = Join-Path $env:LOCALAPPDATA 'Spotify\Update' @@ -637,14 +754,14 @@ function Unlock-Folder { if (Test-Path $blockFileUpdate -PathType Container) { $folderUpdateAccess = Get-Acl $blockFileUpdate $hasDenyAccessRule = $false - + foreach ($accessRule in $folderUpdateAccess.Access) { if ($accessRule.AccessControlType -eq 'Deny') { $hasDenyAccessRule = $true $folderUpdateAccess.RemoveAccessRule($accessRule) } } - + if ($hasDenyAccessRule) { Set-Acl $blockFileUpdate $folderUpdateAccess } @@ -724,14 +841,14 @@ function Mod-F { [string] $template, [object[]] $arguments ) - + $result = $template for ($i = 0; $i -lt $arguments.Length; $i++) { $placeholder = "{${i}}" $value = $arguments[$i] $result = $result -replace [regex]::Escape($placeholder), $value } - + return $result } @@ -1240,17 +1357,18 @@ function downloadSp([string]$DownloadFolder) { $webClient = New-Object -TypeName System.Net.WebClient $spotifyVersion = Get-SpotifyVersionNumber -SpotifyVersion $onlineFull + $downloadVersion = if ($onlineDownloadVersion) { $onlineDownloadVersion } else { $onlineFull } $arch = Get-SpotifyInstallerArchitecture ` -SystemArchitecture $systemArchitecture ` -SpotifyVersion $spotifyVersion ` -LastX86SupportedVersion $last_x86 $downloadBaseUrl = $spotifyDownloadBaseUrl - if ($onlineFull -eq $spotifyTemporaryDownloadVersion -and $arch -eq 'x64') { + if ($downloadVersion -eq $spotifyTemporaryDownloadVersion -and $arch -eq 'x64') { $downloadBaseUrl = $spotifyTemporaryDownloadBaseUrl } - $web_Url = "$downloadBaseUrl/spotify_installer-$onlineFull-$arch.exe" + $web_Url = "$downloadBaseUrl/spotify_installer-$downloadVersion-$arch.exe" $local_Url = Join-Path $DownloadFolder 'SpotifySetup.exe' $web_name_file = "SpotifySetup.exe" try { @@ -1358,14 +1476,14 @@ function Remove-TempDirectory { function DesktopFolder { # If the default Dekstop folder does not exist, then try to find it through the registry. - $ErrorActionPreference = 'SilentlyContinue' - if (Test-Path "$env:USERPROFILE\Desktop") { - $desktop_folder = "$env:USERPROFILE\Desktop" + $ErrorActionPreference = 'SilentlyContinue' + if (Test-Path "$env:USERPROFILE\Desktop") { + $desktop_folder = "$env:USERPROFILE\Desktop" } $regedit_desktop_folder = Get-ItemProperty -Path "Registry::HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\" $regedit_desktop = $regedit_desktop_folder.'{754AC886-DF64-4CBA-86B5-F7FBF4FBCEF5}' - + if (!(Test-Path "$env:USERPROFILE\Desktop")) { $desktop_folder = $regedit_desktop } @@ -1411,7 +1529,7 @@ if ($win10 -or $win11 -or $win8_1 -or $win8 -or $win12) { if (Get-AppxPackage -Name SpotifyAB.SpotifyMusic) { Write-Host ($lang).MsSpoti`n - + if (!($confirm_uninstall_ms_spoti)) { do { $ch = Read-Host -Prompt ($lang).MsSpoti2 @@ -1420,11 +1538,11 @@ if ($win10 -or $win11 -or $win8_1 -or $win8 -or $win12) { incorrectValue } } - + while ($ch -notmatch '^y$|^n$') } if ($confirm_uninstall_ms_spoti) { $ch = 'y' } - if ($ch -eq 'y') { + if ($ch -eq 'y') { $previousProgressPreference = $ProgressPreference try { $ProgressPreference = 'SilentlyContinue' # Hiding Progress Bars @@ -1454,13 +1572,13 @@ if ($SpotifyPath -and -not $spotifyInstalled) { } if ($spotifyInstalled) { - + # Check version Spotify offline $offline = (Get-Item $spotifyExecutable).VersionInfo.FileVersion - + # Version comparison # converting strings to arrays of numbers using the -split operator and a foreach loop - + $arr1 = $online -split '\.' | foreach { [int]$_ } $arr2 = $offline -split '\.' | foreach { [int]$_ } @@ -1478,9 +1596,6 @@ if ($spotifyInstalled) { # Old version Spotify (skip if custom path is used) if ($oldversion -and -not $SpotifyPath) { - if ($confirm_spoti_recomended_over -or $confirm_spoti_recomended_uninstall) { - Write-Host ($lang).OldV`n - } if (!($confirm_spoti_recomended_over) -and !($confirm_spoti_recomended_uninstall)) { do { Write-Host (($lang).OldV2 -f $offline, $online) @@ -1492,12 +1607,11 @@ if ($spotifyInstalled) { } while ($ch -notmatch '^y$|^n$') } - if ($confirm_spoti_recomended_over -or $confirm_spoti_recomended_uninstall) { - $ch = 'y' - Write-Host ($lang).AutoUpd`n + if ($confirm_spoti_recomended_over -or $confirm_spoti_recomended_uninstall) { + $ch = 'y' } - if ($ch -eq 'y') { - $upgrade_client = $true + if ($ch -eq 'y') { + $upgrade_client = $true if (!($confirm_spoti_recomended_over) -and !($confirm_spoti_recomended_uninstall)) { do { @@ -1512,24 +1626,22 @@ if ($spotifyInstalled) { if ($confirm_spoti_recomended_uninstall) { $ch = 'y' } if ($confirm_spoti_recomended_over) { $ch = 'n' } if ($ch -eq 'y') { - Write-Host ($lang).DelOld`n - $null = Unlock-Folder + Write-Host ($lang).DelSpotify`n + $null = Unlock-Folder Invoke-SpotifyUninstall -InstalledVersion $offline } if ($ch -eq 'n') { $ch = $null } } - if ($ch -eq 'n') { + if ($ch -eq 'n') { $downgrading = $true } } - + # Unsupported version Spotify (skip if custom path is used) if ($testversion -and -not $SpotifyPath) { + $autoVersionDowngradeUninstall = $versionIsSupported -and !$confirm_spoti_recomended_over -and !$confirm_spoti_recomended_uninstall - if ($confirm_spoti_recomended_over -or $confirm_spoti_recomended_uninstall) { - Write-Host ($lang).NewV`n - } - if (!($confirm_spoti_recomended_over) -and !($confirm_spoti_recomended_uninstall)) { + if (!($confirm_spoti_recomended_over) -and !($confirm_spoti_recomended_uninstall) -and !$autoVersionDowngradeUninstall) { do { Write-Host (($lang).NewV2 -f $offline, $online) $ch = Read-Host -Prompt (($lang).NewV3 -f $offline) @@ -1540,10 +1652,10 @@ if ($spotifyInstalled) { } while ($ch -notmatch '^y$|^n$') } - if ($confirm_spoti_recomended_over -or $confirm_spoti_recomended_uninstall) { $ch = 'n' } + if ($confirm_spoti_recomended_over -or $confirm_spoti_recomended_uninstall -or $autoVersionDowngradeUninstall) { $ch = 'n' } if ($ch -eq 'y') { $upgrade_client = $false } if ($ch -eq 'n') { - if (!($confirm_spoti_recomended_over) -and !($confirm_spoti_recomended_uninstall)) { + if (!($confirm_spoti_recomended_over) -and !($confirm_spoti_recomended_uninstall) -and !$autoVersionDowngradeUninstall) { do { $ch = Read-Host -Prompt (($lang).Recom -f $online) Write-Host @@ -1553,14 +1665,13 @@ if ($spotifyInstalled) { } while ($ch -notmatch '^y$|^n$') } - if ($confirm_spoti_recomended_over -or $confirm_spoti_recomended_uninstall) { - $ch = 'y' - Write-Host ($lang).AutoUpd`n + if ($confirm_spoti_recomended_over -or $confirm_spoti_recomended_uninstall -or $autoVersionDowngradeUninstall) { + $ch = 'y' } if ($ch -eq 'y') { $upgrade_client = $true $downgrading = $true - if (!($confirm_spoti_recomended_over) -and !($confirm_spoti_recomended_uninstall)) { + if (!($confirm_spoti_recomended_over) -and !($confirm_spoti_recomended_uninstall) -and !$autoVersionDowngradeUninstall) { do { $ch = Read-Host -Prompt (($lang).DelOrOver -f $offline) Write-Host @@ -1572,8 +1683,9 @@ if ($spotifyInstalled) { } if ($confirm_spoti_recomended_uninstall) { $ch = 'y' } if ($confirm_spoti_recomended_over) { $ch = 'n' } + if ($autoVersionDowngradeUninstall) { $ch = 'y' } if ($ch -eq 'y') { - Write-Host ($lang).DelNew`n + Write-Host ($lang).DelSpotify`n $null = Unlock-Folder Invoke-SpotifyUninstall -InstalledVersion $offline } @@ -1593,14 +1705,14 @@ if (-not $SpotifyPath -and (-not $spotifyInstalled -or $upgrade_client)) { Write-Host ($lang).DownSpoti"" -NoNewline Write-Host $online -ForegroundColor Green Write-Host ($lang).DownSpoti2`n - + # Delete old version files of Spotify before installing, leave only profile files $ErrorActionPreference = 'SilentlyContinue' Kill-Spotify Start-Sleep -Milliseconds 600 - $null = Unlock-Folder + $null = Unlock-Folder Start-Sleep -Milliseconds 200 - Get-ChildItem $spotifyDirectory -Exclude 'Users', 'prefs' | Remove-Item -Recurse -Force + Get-ChildItem $spotifyDirectory -Exclude 'Users', 'prefs' | Remove-Item -Recurse -Force Start-Sleep -Milliseconds 200 $tempDirName = "SpotX_Temp-$(Get-Date -UFormat '%Y-%m-%d_%H-%M-%S')" @@ -1641,8 +1753,8 @@ $ch = $null # updated Russian translation -if ($langCode -eq 'ru' -and [version]$offline -ge [version]"1.1.92.644") { - +if ($langCode -eq 'ru' -and [version]$offline -ge [version]"1.1.92.644") { + $webjsonru = Get -Url (Get-Link -e "/patches/Augmented%20translation/ru.json") if ($webjsonru -ne $null) { @@ -1651,8 +1763,8 @@ if ($langCode -eq 'ru' -and [version]$offline -ge [version]"1.1.92.644") { } } -if ($podcasts_off) { - Write-Host ($lang).PodcatsOff`n +if ($podcasts_off) { + Write-Host ($lang).PodcatsOff`n $ch = 'y' } if ($podcasts_on) { @@ -1676,7 +1788,7 @@ if ($downgrading) { $upd = "`n" + [string]($lang).DowngradeNote } else { $upd = "" } -if ($block_update_on) { +if ($block_update_on) { Write-Host ($lang).UpdBlock`n $ch = 'y' } @@ -1689,7 +1801,7 @@ if (!($block_update_on) -and !($block_update_off)) { $text_upd = [string]($lang).UpdSelect + $upd $ch = Read-Host -Prompt $text_upd Write-Host - if (!($ch -eq 'n' -or $ch -eq 'y')) { incorrectValue } + if (!($ch -eq 'n' -or $ch -eq 'y')) { incorrectValue } } while ($ch -notmatch '^y$|^n$') } @@ -1712,8 +1824,8 @@ if ($ch -eq 'n') { $ch = $null $webjson = Get-PatchesJson -LocalPath $CustomPatchesPath - -if ($webjson -eq $null) { + +if ($webjson -eq $null) { Write-Host Write-Host "Failed to load patches.json" -ForegroundColor Red Remove-TempDirectory -Directory $tempDirectory @@ -1729,12 +1841,12 @@ function Helper($paramname) { [Parameter(Mandatory = $true)] [Alias("j")] [PSObject]$Json, - + [Parameter(Mandatory = $true, ValueFromPipeline = $true)] [Alias("p")] [string[]]$Properties ) - + foreach ($Property in $Properties) { $Json.psobject.properties.Remove($Property) } @@ -1744,16 +1856,16 @@ function Helper($paramname) { [Parameter(Mandatory = $true)] [Alias("t")] [PSObject]$to, - + [Parameter(Mandatory = $true)] [Alias("n")] [string[]]$name, - + [Parameter(Mandatory = $true)] [Alias("f")] [PSObject]$from ) - + foreach ($propertyName in $name) { $from | Add-Member -MemberType NoteProperty -Name $propertyName -Value $to.$propertyName Remove-Json -j $to -p $propertyName @@ -1761,55 +1873,55 @@ function Helper($paramname) { } switch ( $paramname ) { - "HtmlLicMin" { + "HtmlLicMin" { # licenses.html minification $name = "patches.json.others." $n = "licenses.html" $contents = "htmlmin" $json = $webjson.others } - "HtmlBlank" { + "HtmlBlank" { # htmlBlank minification $name = "patches.json.others." $n = "blank.html" $contents = "blank.html" $json = $webjson.others } - "MinJs" { + "MinJs" { # Minification of all *.js $contents = "minjs" $json = $webjson.others } - "MinJson" { + "MinJson" { # Minification of all *.json $contents = "minjson" $json = $webjson.others } - "FixCss" { + "FixCss" { # Remove indent for old theme xpui.css $name = "patches.json.others." $n = "xpui.css" $json = $webjson.others } - "Fixjs" { + "Fixjs" { $n = $name $contents = "searchFixes" $name = "patches.json.others." $json = $webjson.others } - "Cssmin" { + "Cssmin" { # Minification of all *.css $contents = "cssmin" $json = $webjson.others } - "DisableSentry" { + "DisableSentry" { $name = "patches.json.others." $n = $fileName $contents = "disablesentry" $json = $webjson.others } - "Discriptions" { + "Discriptions" { # Add discriptions (xpui-desktop-modals.js) $svg_tg = $webjson.others.discriptions.svgtg @@ -1826,14 +1938,14 @@ function Helper($paramname) { $contents = "discriptions" $json = $webjson.others } - "OffadsonFullscreen" { + "OffadsonFullscreen" { # Full screen mode activation and removing "Upgrade to premium" menu, upgrade button, disabling a playlist sponsor $name = "patches.json.free." $n = "xpui.js" $contents = $webjson.free.psobject.properties.name $json = $webjson.free } - "ForcedExp" { + "ForcedExp" { # Forced disable some exp (xpui.js) $offline_patch = $offline -replace '(\d+\.\d+\.\d+)(.\d+)', '$1' $Enable = $webjson.others.EnableExp @@ -1851,11 +1963,11 @@ function Helper($paramname) { # temporarily disable collapsing right sidebar Move-Json -n 'PeekNpv' -t $Enable -f $Disable - + if ($podcast_off) { Move-Json -n 'HomePin' -t $Enable -f $Disable } # disabled broken panel from 1.2.37 to 1.2.38 - if ([version]$offline -eq [version]'1.2.37.701' -or [version]$offline -eq [version]'1.2.38.720' ) { + if ([version]$offline -eq [version]'1.2.37.701' -or [version]$offline -eq [version]'1.2.38.720' ) { Move-Json -n 'DevicePickerSidePanel' -t $Enable -f $Disable } @@ -1871,30 +1983,30 @@ function Helper($paramname) { if ([version]$offline -le [version]'1.2.50.335') { if (!($plus)) { Move-Json -n "Plus", "AlignedCurationSavedIn" -t $Enable -f $Disable } - + } if (!$topsearchbar) { - Move-Json -n "GlobalNavBar" -t $Enable -f $Disable + Move-Json -n "GlobalNavBar" -t $Enable -f $Disable $Custom.GlobalNavBar.value = "control" if ([version]$offline -le [version]"1.2.45.454") { - Move-Json -n "RecentSearchesDropdown" -t $Enable -f $Disable + Move-Json -n "RecentSearchesDropdown" -t $Enable -f $Disable } } if ([version]$offline -le [version]'1.2.50.335') { if (!($funnyprogressbar)) { Move-Json -n 'HeBringsNpb' -t $Enable -f $Disable } - + } if ([version]$offline -le [version]'1.2.62.580') { if (!$newFullscreenMode) { Move-Json -n "ImprovedCinemaMode", "ImprovedCinemaModeCanvas" -t $Enable -f $Disable } - + } # disable subfeed filter chips on home - if ($homesub_off) { - Move-Json -n "HomeSubfeeds" -t $Enable -f $Disable + if ($homesub_off) { + Move-Json -n "HomeSubfeeds" -t $Enable -f $Disable } # Old theme @@ -1907,7 +2019,7 @@ function Helper($paramname) { } # New theme else { - if ($rightsidebar_off -and [version]$offline -lt [version]"1.2.24.756") { + if ($rightsidebar_off -and [version]$offline -lt [version]"1.2.24.756") { Move-Json -n 'RightSidebar' -t $Enable -from $Disable } else { @@ -1942,10 +2054,10 @@ function Helper($paramname) { foreach ($item in $Exp) { $itemProperties = $item | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name - + foreach ($key in $itemProperties) { $vers = $item.$key.version - + if (!($vers.to -eq "" -or [version]$vers.to -ge [version]$offline_patch -and [version]$vers.fr -le [version]$offline_patch)) { if ($item.PSObject.Properties.Name -contains $key) { $item.PSObject.Properties.Remove($key) @@ -1974,7 +2086,7 @@ function Helper($paramname) { $objectString = "{name:'$custname',value:'$custvalue'}" $objectString } - + # Convert the strings of objects into a single text string if ([string]::IsNullOrEmpty($customNames)) { $customTextVariable = '[]' } else { $customTextVariable = "[" + ($customNames -join ',') + "]" } @@ -1998,13 +2110,13 @@ function Helper($paramname) { $contents = "ForcedExp" $json = $webjson.others } - "RuTranslate" { + "RuTranslate" { # Additional translation of some words for the Russian language $n = "ru.json" $contents = $webjsonru.psobject.properties.name $json = $webjsonru } - "Binary" { + "Binary" { $binary = $webjson.others.binary @@ -2017,34 +2129,34 @@ function Helper($paramname) { $contents = $webjson.others.binary.psobject.properties.name $json = $webjson.others.binary } - "Collaborators" { + "Collaborators" { # Hide Collaborators icon $name = "patches.json.others." $n = "xpui-routes-playlist.js" $contents = "collaboration" $json = $webjson.others } - "Dev" { + "Dev" { $name = "patches.json.others." $n = "xpui-routes-desktop-settings.js" $contents = "dev-tools" $json = $webjson.others - } - "VariousofXpui-js" { + } + "VariousofXpui-js" { $VarJs = $webjson.VariousJs if ($premium) { Remove-Json -j $VarJs -p 'mock', 'upgradeButton', 'upgradeMenu' } - if ($topsearchbar -or ([version]$offline -ne [version]"1.2.45.451" -and [version]$offline -ne [version]"1.2.45.454")) { + if ($topsearchbar -or ([version]$offline -ne [version]"1.2.45.451" -and [version]$offline -ne [version]"1.2.45.454")) { Remove-Json -j $VarJs -p "fixTitlebarHeight" } if (!($lyrics_block)) { Remove-Json -j $VarJs -p "lyrics-block" } - else { + else { Remove-Json -j $VarJs -p "lyrics-old-on" } @@ -2055,18 +2167,18 @@ function Helper($paramname) { # Create a copy of 'dev-tools' $newDevTools = $webjson.VariousJs.'dev-tools'.PSObject.Copy() - + # Delete the first item and change the version $newDevTools.match = $newDevTools.match[0], $newDevTools.match[2] $newDevTools.replace = $newDevTools.replace[0], $newDevTools.replace[2] $newDevTools.version.fr = '1.2.35' - + # Assign a copy of 'devtools' to the 'devtools' property in $web json.others $webjson.others | Add-Member -Name 'dev-tools' -Value $newDevTools -MemberType NoteProperty - + # leave only first item in $web json.Various Js.'devtools' match & replace $webjson.VariousJs.'dev-tools'.match = $webjson.VariousJs.'dev-tools'.match[1] - $webjson.VariousJs.'dev-tools'.replace = $webjson.VariousJs.'dev-tools'.replace[1] + $webjson.VariousJs.'dev-tools'.replace = $webjson.VariousJs.'dev-tools'.replace[1] } } @@ -2074,19 +2186,19 @@ function Helper($paramname) { $webjson.VariousJs.goofyhistory.replace = $webjson.VariousJs.goofyhistory.replace -f "`"$urlform_goofy`"", "`"$idbox_goofy`"" } else { Remove-Json -j $VarJs -p "goofyhistory" } - + if (!($ru)) { Remove-Json -j $VarJs -p "offrujs" } if (!($premium) -or ($cache_limit)) { - if (!($premium)) { + if (!($premium)) { $adds += $webjson.VariousJs.product_state.add } - if ($cache_limit) { - + if ($cache_limit) { + if ($cache_limit -lt 500) { $cache_limit = 500 } if ($cache_limit -gt 20000) { $cache_limit = 20000 } - + $adds2 = $webjson.VariousJs.product_state.add2 if (!([string]::IsNullOrEmpty($adds))) { $adds2 = ',' + $adds2 } $adds += $adds2 -f $cache_limit @@ -2097,7 +2209,7 @@ function Helper($paramname) { } else { Remove-Json -j $VarJs -p 'product_state' } - + $name = "patches.json.VariousJs." $n = "xpui.js" $contents = $webjson.VariousJs.psobject.properties.name @@ -2108,7 +2220,7 @@ function Helper($paramname) { $novariable = "Didn't find variable " $offline_patch = $offline -replace '(\d+\.\d+\.\d+)(.\d+)', '$1' - $contents | foreach { + $contents | foreach { if ($json.$PSItem.disable -eq $true) { return @@ -2116,7 +2228,7 @@ function Helper($paramname) { if ( $json.$PSItem.version.to ) { $to = [version]$json.$PSItem.version.to -ge [version]$offline_patch } else { $to = $true } if ( $json.$PSItem.version.fr ) { $fr = [version]$json.$PSItem.version.fr -le [version]$offline_patch } else { $fr = $false } - + $checkVer = $fr -and $to; $translate = $paramname -eq "RuTranslate" if ($checkVer -or $translate) { @@ -2128,31 +2240,31 @@ function Helper($paramname) { While ($numbers -le $count) { - if ($paramdata -match $json.$PSItem.match[$numbers]) { - $paramdata = $paramdata -replace $json.$PSItem.match[$numbers], $json.$PSItem.replace[$numbers] + if ($paramdata -match $json.$PSItem.match[$numbers]) { + $paramdata = $paramdata -replace $json.$PSItem.match[$numbers], $json.$PSItem.replace[$numbers] } - else { + else { $notlog = "MinJs", "MinJson", "Cssmin" if ($paramname -notin $notlog) { - - Write-Host $novariable -ForegroundColor red -NoNewline + + Write-Host $novariable -ForegroundColor red -NoNewline Write-Host "$name$PSItem $numbers"'in'$n } - } + } $numbers++ } } if ($json.$PSItem.match.Count -eq 1) { - if ($paramdata -match $json.$PSItem.match) { - $paramdata = $paramdata -replace $json.$PSItem.match, $json.$PSItem.replace + if ($paramdata -match $json.$PSItem.match) { + $paramdata = $paramdata -replace $json.$PSItem.match, $json.$PSItem.replace } - else { + else { if (!($translate) -or $err_ru) { - Write-Host $novariable -ForegroundColor red -NoNewline + Write-Host $novariable -ForegroundColor red -NoNewline Write-Host "$name$PSItem"'in'$n } } - } + } } } $paramdata @@ -2160,11 +2272,11 @@ function Helper($paramname) { function extract ($counts, $method, $name, $helper, $add, $patch) { switch ( $counts ) { - "one" { + "one" { if ($method -eq "zip") { Add-Type -Assembly 'System.IO.Compression.FileSystem' $xpui_spa_patch = Join-Path (Join-Path $spotifyDirectory 'Apps') 'xpui.spa' - $zip = [System.IO.Compression.ZipFile]::Open($xpui_spa_patch, 'update') + $zip = [System.IO.Compression.ZipFile]::Open($xpui_spa_patch, 'update') $file = $zip.GetEntry($name) $reader = New-Object System.IO.StreamReader($file.Open()) } @@ -2174,24 +2286,24 @@ function extract ($counts, $method, $name, $helper, $add, $patch) { } $xpui = $reader.ReadToEnd() $reader.Close() - if ($helper) { $xpui = Helper -paramname $helper } + if ($helper) { $xpui = Helper -paramname $helper } if ($method -eq "zip") { $writer = New-Object System.IO.StreamWriter($file.Open()) } if ($method -eq "nonezip") { $writer = New-Object System.IO.StreamWriter -ArgumentList $file } $writer.BaseStream.SetLength(0) $writer.Write($xpui) if ($add) { $add | foreach { $writer.Write([System.Environment]::NewLine + $PSItem ) } } - $writer.Close() + $writer.Close() if ($method -eq "zip") { $zip.Dispose() } } - "more" { + "more" { Add-Type -Assembly 'System.IO.Compression.FileSystem' $xpui_spa_patch = Join-Path (Join-Path $spotifyDirectory 'Apps') 'xpui.spa' - $zip = [System.IO.Compression.ZipFile]::Open($xpui_spa_patch, 'update') - $zip.Entries | Where-Object { $_.FullName -like $name -and $_.FullName.Split('/') -notcontains 'spotx-helper' } | foreach { + $zip = [System.IO.Compression.ZipFile]::Open($xpui_spa_patch, 'update') + $zip.Entries | Where-Object { $_.FullName -like $name -and $_.FullName.Split('/') -notcontains 'spotx-helper' } | foreach { $reader = New-Object System.IO.StreamReader($_.Open()) $xpui = $reader.ReadToEnd() $reader.Close() - $xpui = Helper -paramname $helper + $xpui = Helper -paramname $helper $writer = New-Object System.IO.StreamWriter($_.Open()) $writer.BaseStream.SetLength(0) $writer.Write($xpui) @@ -2217,7 +2329,7 @@ function injection { [string]$FolderInArchive, [Alias("n")] - [string[]]$FileNames, + [string[]]$FileNames, [Alias("c")] [string[]]$FileContents, @@ -2230,7 +2342,7 @@ function injection { Add-Type -AssemblyName System.IO.Compression.FileSystem $archive = [System.IO.Compression.ZipFile]::Open($ArchivePath, 'Update') - + try { for ($i = 0; $i -lt $FileNames.Length; $i++) { $fileName = $FileNames[$i] @@ -2423,7 +2535,7 @@ public class ScannerCore { uint fileOffset = sectionRawPtr + i; if (fileOffset + 8 > data.Length) break; uint inst1 = BitConverter.ToUInt32(data, (int)fileOffset); - + // ADRP if ((inst1 & 0x9F000000) == 0x90000000) { int rd = (int)(inst1 & 0x1F); @@ -2431,9 +2543,9 @@ public class ScannerCore { long immHi = (inst1 >> 5) & 0x7FFFF; long imm = (immHi << 2) | immLo; if ((imm & 0x100000) != 0) { imm |= unchecked((long)0xFFFFFFFFFFE00000); } - imm = imm << 12; + imm = imm << 12; ulong pc = sectionRVA + i; - ulong pcPage = pc & 0xFFFFFFFFFFFFF000; + ulong pcPage = pc & 0xFFFFFFFFFFFFF000; ulong page = (ulong)((long)pcPage + imm); uint inst2 = BitConverter.ToUInt32(data, (int)fileOffset + 4); @@ -2476,7 +2588,7 @@ public class ScannerCore { } } } - if (startOffset - i > 20000) break; + if (startOffset - i > 20000) break; } return 0; } @@ -2486,9 +2598,9 @@ public class ScannerCore { if (-not ([System.Management.Automation.PSTypeName]'ScannerCore').Type) { Add-Type -TypeDefinition $csharpCode } - + Write-Verbose "Loading file: $FilePath" - if (-not (Test-Path $FilePath)) { + if (-not (Test-Path $FilePath)) { Write-Warning "File Spotify.dll not found" Stop-Script } @@ -2499,10 +2611,10 @@ public class ScannerCore { $Machine = [BitConverter]::ToUInt16($bytes, $e_lfanew + 4) $IsArm64 = $false $ArchName = "Unknown" - + if ($Machine -eq 0x8664) { $ArchName = "x64"; $IsArm64 = $false } elseif ($Machine -eq 0xAA64) { $ArchName = "ARM64"; $IsArm64 = $true } - else { + else { Write-Warning "Architecture not supported for patching Spotify.dll" Stop-Script } @@ -2512,7 +2624,7 @@ public class ScannerCore { $NumberOfSections = [BitConverter]::ToUInt16($bytes, $e_lfanew + 0x06) $SizeOfOptionalHeader = [BitConverter]::ToUInt16($bytes, $e_lfanew + 0x14) $SectionTableStart = $e_lfanew + 0x18 + $SizeOfOptionalHeader - + $Sections = @(); $CodeSection = $null for ($i = 0; $i -lt $NumberOfSections; $i++) { $secEntry = $SectionTableStart + ($i * 40) @@ -2525,7 +2637,7 @@ public class ScannerCore { if (($Chars -band 0x20) -ne 0 -and $CodeSection -eq $null) { $CodeSection = $SecObj } } } - catch { + catch { Write-Warning "PE Error in Spotify.dll" Stop-Script } @@ -2542,7 +2654,7 @@ public class ScannerCore { Write-Verbose "Searching for function..." $StringBytes = [System.Text.Encoding]::ASCII.GetBytes($TargetStringText) $StringOffset = [ScannerCore]::FindBytes($bytes, $StringBytes) - if ($StringOffset -eq -1) { + if ($StringOffset -eq -1) { Write-Warning "String not found in Spotify.dll" Stop-Script } @@ -2569,7 +2681,7 @@ public class ScannerCore { } } - if ($PatchOffset -eq 0) { + if ($PatchOffset -eq 0) { Write-Warning "Function not found in Spotify.dll" Stop-Script } @@ -2592,8 +2704,8 @@ public class ScannerCore { [System.IO.File]::WriteAllBytes($FilePath, $bytes) Write-Verbose "Success" } - catch { - Write-Warning "Write error in Spotify.dll $($_.Exception.Message)" + catch { + Write-Warning "Write error in Spotify.dll $($_.Exception.Message)" Stop-Script } } @@ -2737,7 +2849,7 @@ function Update-ZipEntry { Write-Host ($lang).ModSpoti`n -Remove-TempDirectory -Directory $tempDirectory +Remove-TempDirectory -Directory $tempDirectory $xpui_spa_patch = Join-Path (Join-Path $spotifyDirectory 'Apps') 'xpui.spa' $xpui_js_patch = Join-Path (Join-Path (Join-Path $spotifyDirectory 'Apps') 'xpui') 'xpui.js' @@ -2751,7 +2863,7 @@ if ($test_spa -and $test_js) { } if ($test_js) { - + do { $ch = Read-Host -Prompt ($lang).Spicetify Write-Host @@ -2759,23 +2871,23 @@ if ($test_js) { } while ($ch -notmatch '^y$|^n$') - if ($ch -eq 'y') { + if ($ch -eq 'y') { $Url = "https://telegra.ph/SpotX-FAQ-09-19#Can-I-use-SpotX-and-Spicetify-together?" Start-Process $Url } Stop-Script -} +} -if (!($test_js) -and !($test_spa)) { +if (!($test_js) -and !($test_spa)) { Write-Host "xpui.spa not found, reinstall Spotify" Stop-Script } if ($test_spa) { - + Add-Type -Assembly 'System.IO.Compression.FileSystem' - + # Check for the presence of xpui.js in the xpui.spa archive $archive_spa = $null @@ -2786,7 +2898,7 @@ if ($test_spa) { $xpuiSnapshotEntry = $archive_spa.GetEntry('xpui-snapshot.js') if (($null -eq $xpuiJsEntry) -and ($null -ne $xpuiSnapshotEntry)) { - + $snapshot_x64 = Join-Path $spotifyDirectory 'v8_context_snapshot.bin' $snapshot_arm64 = Join-Path $spotifyDirectory 'v8_context_snapshot.arm64.bin' @@ -2803,9 +2915,9 @@ if ($test_spa) { $archive_spa = [System.IO.Compression.ZipFile]::Open($xpui_spa_patch, [System.IO.Compression.ZipArchiveMode]::Update) Update-ZipEntry -archive $archive_spa -entryName 'xpui-snapshot.js' -prepend $modules -newEntryName 'xpui.js' -Verbose:$VerbosePreference - + Update-ZipEntry -archive $archive_spa -entryName 'xpui-snapshot.css' -newEntryName 'xpui.css' -Verbose:$VerbosePreference - + Update-ZipEntry -archive $archive_spa -entryName 'index.html' -contentTransform { param($c) $c = $c -replace 'xpui-snapshot.js', 'xpui.js' @@ -2813,7 +2925,7 @@ if ($test_spa) { return $c } -Verbose:$VerbosePreference } - + } } catch { @@ -2841,8 +2953,8 @@ if ($test_spa) { if ($offline -ge [version]'1.2.70.253') { - - $spotify_binary_bak = $dll_bak + + $spotify_binary_bak = $dll_bak $spotify_binary = $spotifyDll } else { @@ -2851,7 +2963,7 @@ if ($test_spa) { } If ($patched_by_spotx -match 'patched by spotx') { - $zip.Dispose() + $zip.Dispose() if ($test_bak_spa) { Remove-Item $xpui_spa_patch -Recurse -Force @@ -2938,7 +3050,7 @@ if ($test_spa) { if ($podcast_off -or $adsections_off -or $canvashome_off) { $section = Get -Url (Get-Link -e "/js-helper/sectionBlock.js") - + if ($section -ne $null) { $calltype = switch ($true) { @@ -2949,7 +3061,7 @@ if ($test_spa) { $podcast_off { "'podcast'"; break } $adsections_off { "'section'"; break } $canvashome_off { "'canvas'"; break } - default { $null } + default { $null } } if (!($calltype -eq "'canvas'" -and [version]$offline -le [version]"1.2.44.405")) { @@ -2959,12 +3071,12 @@ if ($test_spa) { } } - + # goofy History if ($urlform_goofy -and $idbox_goofy) { $goofy = Get -Url (Get-Link -e "/js-helper/goofyHistory.js") - + if ($goofy -ne $null) { injection -p $xpui_spa_patch -f "spotx-helper" -n "goofyHistory.js" -c $goofy @@ -2987,19 +3099,19 @@ if ($test_spa) { } extract -counts 'one' -method 'zip' -name 'xpui.js' -helper 'VariousofXpui-js' - + if ([version]$offline -ge [version]"1.1.85.884" -and [version]$offline -le [version]"1.2.57.463") { - + if ([version]$offline -ge [version]"1.2.45.454") { $typefile = "xpui.js" } else { $typefile = "xpui-routes-search.js" } extract -counts 'one' -method 'zip' -name $typefile -helper "Fixjs" } - + if ($devtools -and [version]$offline -ge [version]"1.2.35.663") { - extract -counts 'one' -method 'zip' -name 'xpui-routes-desktop-settings.js' -helper 'Dev' + extract -counts 'one' -method 'zip' -name 'xpui-routes-desktop-settings.js' -helper 'Dev' } # Hide Collaborators icon @@ -3010,8 +3122,8 @@ if ($test_spa) { # Add discriptions (xpui-desktop-modals.js) extract -counts 'one' -method 'zip' -name 'xpui-desktop-modals.js' -helper 'Discriptions' - # Disable Sentry - if ( [version]$offline -le [version]"1.2.56.502" ) { + # Disable Sentry + if ( [version]$offline -le [version]"1.2.56.502" ) { $fileName = 'vendor~xpui.js' } @@ -3045,20 +3157,20 @@ if ($test_spa) { $css += $webjson.others.'fix-scrollbar'.add if ($null -ne $css ) { extract -counts 'one' -method 'zip' -name 'xpui.css' -add $css } - + # Old UI fix $contents = "fix-old-theme" extract -counts 'one' -method 'zip' -name 'xpui.css' -helper "FixCss" # Remove RTL and minification of all *.css extract -counts 'more' -name '*.css' -helper 'Cssmin' - + # licenses.html minification extract -counts 'one' -method 'zip' -name 'licenses.html' -helper 'HtmlLicMin' # blank.html minification extract -counts 'one' -method 'zip' -name 'blank.html' -helper 'HtmlBlank' - + if ($ru) { # Additional translation of the ru.json file extract -counts 'more' -name '*ru.json' -helper 'RuTranslate' @@ -3074,7 +3186,7 @@ if ($ru) { } # Create a desktop shortcut -$ErrorActionPreference = 'SilentlyContinue' +$ErrorActionPreference = 'SilentlyContinue' if (!($no_shortcut)) { @@ -3088,7 +3200,7 @@ if (!($no_shortcut)) { $Shortcut = $WshShell.CreateShortcut($target) $Shortcut.WorkingDirectory = $WorkingDir $Shortcut.TargetPath = $source - $Shortcut.Save() + $Shortcut.Save() } } @@ -3101,7 +3213,7 @@ If (!(Test-Path $start_menu)) { $Shortcut = $WshShell.CreateShortcut($target) $Shortcut.WorkingDirectory = $WorkingDir $Shortcut.TargetPath = $source - $Shortcut.Save() + $Shortcut.Save() } $ANSI = [Text.Encoding]::GetEncoding(1251) @@ -3118,7 +3230,7 @@ $regex5 = $old -notmatch $( if ($regex1 -and $regex2 -and $regex3 -and $regex4 -and $regex5) { - if (Test-Path -LiteralPath $spotify_binary_bak) { + if (Test-Path -LiteralPath $spotify_binary_bak) { Remove-Item $spotify_binary_bak -Recurse -Force Start-Sleep -Milliseconds 150 } @@ -3158,7 +3270,7 @@ if ($DisableStartup) { # delete key in registry if (Get-ItemProperty -Path $keyPath -Name $keyName -ErrorAction SilentlyContinue) { Remove-ItemProperty -Path $keyPath -Name $keyName -Force - } + } # create new prefs if (-not (Test-Path $prefsPath)) { @@ -3168,7 +3280,7 @@ app.autostart-mode="off" "@ [System.IO.File]::WriteAllLines($prefsPath, $content, [System.Text.UTF8Encoding]::new($false)) } - + # update prefs else { $content = [System.IO.File]::ReadAllText($prefsPath) diff --git a/scripts/installer-lang/be.ps1 b/scripts/installer-lang/be.ps1 index 66e4f91..164b996 100644 --- a/scripts/installer-lang/be.ps1 +++ b/scripts/installer-lang/be.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "Аўтаматычнае выдаленне Spotify MS..." MsSpoti4 = "Выдаленне Spotify MS..." Prem = "Мадыфікацыя для прэміум-акаўнта..." - OldV = "Знойдзена састарэлая версія Spotify" OldV2 = "Ваша версія Spotify ({0}) састарэла, бягучая апошняя версія — {1}" OldV3 = "Хочаце абнавіць? [Y/N]" - AutoUpd = "Аўтаматычнае абнаўленне да рэкамендаванай версіі" DelOrOver = "Выдаліць бягучую версію ({0}) або ўсталяваць паверх яе? Y [Выдаліць] / N [Усталяваць паверх]" - DelOld = "Выдаленне старой версіі Spotify..." - NewV = "Знойдзена непадтрымоўваная версія Spotify" + DelSpotify = "Выдаленне Spotify..." NewV2 = "Ваша версія Spotify ({0}) не была пратэставана. Стабільная версія для SpotX — {1}" NewV3 = "Працягнуць з {0} (могуць узнікнуць памылкі)? [Y/N]" Recom = "Усталяваць апошнюю версію {0}? [Y/N]" - DelNew = "Выдаленне неправеранай версіі Spotify..." DownSpoti = "Спампоўка і ўсталёўка Spotify" DownSpoti2 = "Калі ласка, пачакайце..." PodcatsOff = "Падкасты выкл" diff --git a/scripts/installer-lang/bn.ps1 b/scripts/installer-lang/bn.ps1 index 8df958e..2c88104 100644 --- a/scripts/installer-lang/bn.ps1 +++ b/scripts/installer-lang/bn.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "স্বয়ংক্রিয়ভাবে স্পটিফাই এর মাইক্রোসফট স্টোর সংস্করণ আনইন্সটল করা হচ্ছে..." MsSpoti4 = "স্পটিফাই এর মাইক্রোসফট স্টোর সংস্করণ আনইন্সটল করা হচ্ছে..." Prem = "প্রিমিয়াম একাউন্ট এর জন্য পরিবর্তন..." - OldV = "স্পটিফাই এর একটি অসমর্থিত সংস্করণ পাওয়া গিয়েছে" OldV2 = "আপনার স্পটিফাই এর {0} সংস্করণটি অসমর্থিত, আপনাকে {1} সংস্করণে হালনাগাদের জন্য পরামর্শ দেয়া হলো" OldV3 = "হালনাগাদ করতে চান ? [Y/N]" - AutoUpd = "সুপারিশকৃত সংস্করণে স্বয়ংক্রিয় হালনাগাদকরণ" DelOrOver = "আপনি কি বর্তমানে ইনস্টল থাকা {0} সংস্করণটি আনইনস্টল করতে চান নাকি আগেরটির সাথেই ইনস্টল করবেন? Y [আনইন্সটল করুন] / N [আগেরটির সাথেই ইনস্টল করুন]" - DelOld = "পুরাতন স্পটিফাই আনইন্সটল করা হচ্ছে..." - NewV = "স্পটিফাই এর একটি অসমর্থিত সংস্করণ পাওয়া গিয়েছে" + DelSpotify = "Spotify আনইন্সটল করা হচ্ছে..." NewV2 = "আপনার স্পটিফাই এর {0} সংস্করণটি এখনো পরীক্ষা করা হয়নি, বর্তমানে এটি স্থায়ী {1} সংস্করণ" NewV3 = "আপনি কি {0} সংস্করণের সাথে চালিয়ে যেতে চান (এটিতে সমস্যা থাকতে পারে) ? [Y/N]" Recom = "আপনি কি সুপারিশকৃত {0} সংস্করণটি ইনস্টল করতে চান ? [Y/N]" - DelNew = "অপরীক্ষিত স্পটিফাই আনইন্সটল করা হচ্ছে..." DownSpoti = "স্পটিফাই ডাউনলোড এবং ইনস্টল করা হচ্ছে" DownSpoti2 = "দয়া করে অপেক্ষা করুন..." PodcatsOff = "পডকাস্ট বন্ধ রাখুন" diff --git a/scripts/installer-lang/cs.ps1 b/scripts/installer-lang/cs.ps1 index 242ff85..cc9d77b 100644 --- a/scripts/installer-lang/cs.ps1 +++ b/scripts/installer-lang/cs.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "Automaticky odinstalovávám Spotify z Microsoft Store..." MsSpoti4 = "Odinštalovávám Spotify z Microsoft Store..." Prem = "Úprava kvůli prémiovému účtu..." - OldV = "Nalezena stará verze Spotify" OldV2 = "Vaše Spotify {0} verze je stará, doporučuje se aktualizovat na verzi {1}" OldV3 = "Chcete aktualizovat? [Y/N]" - AutoUpd = "Automatická aktualizace na doporučenou verzi" DelOrOver = "Chcete odinstalovat současnou verzi {0} nebo nainstalovat novější na současnou (zůstanou některé soubory)? Y [Odinštalovat] / N [Nainstalovat novější na současnou]" - DelOld = "Odinštalovávám staré Spotify..." - NewV = "Byla nalezena nepodporovaná verze Spotify" + DelSpotify = "Odinštalovávám Spotify..." NewV2 = "Vaše Spotify {0} verze zatím nebyla testována, stabilní je nyní {1} verze" NewV3 = "Chcete pokračovat s {0} verzí (mohou nastat chyby)? [Y/N]" Recom = "Chcete nainstalovat doporučenou {0} verzi? [Y/N]" - DelNew = "Odinštalovávám netestovanou verzi Spotify..." DownSpoti = "Stahuji a instaluji Spotify" DownSpoti2 = "Prosím čekejte..." PodcatsOff = "Vypněte podcasty" diff --git a/scripts/installer-lang/de.ps1 b/scripts/installer-lang/de.ps1 index 5b83b70..3faa437 100644 --- a/scripts/installer-lang/de.ps1 +++ b/scripts/installer-lang/de.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "Deinstalliere die MS Version von Spotify automatisch..." MsSpoti4 = "Deinstalliere die MS Version von Spotify..." Prem = "Modifikation für Premium Accounts..." - OldV = "Veraltete Version von Spotify gefunden" OldV2 = "Ihre Spotify {0} Version ist veraltet, es wird empfohlen, Spotify auf {1} zu aktualisieren" OldV3 = "Möchten Sie Spotify aktualisieren? [Y/N]" - AutoUpd = "Automatisches Aktualisieren zur empfohlenen Version" DelOrOver = "Möchten Sie die bestehenden Version von Spotify {0} deinstallieren oder möchten Sie sie überschreiben? Y [Deinstallieren] / N [Überschreiben]" - DelOld = "Deinstalliere das alte Spotify..." - NewV = "Nicht unterstützte Version von Spotify gefunden" + DelSpotify = "Deinstalliere Spotify..." NewV2 = "Ihre Spotify {0} Version wurde noch nicht getestet, im Moment ist {1} die stabile Version" NewV3 = "Möchten Sie mit der {0} Version fortfahren? (Fehler können auftreten) [Y/N]" Recom = "Möchten Sie die empfohlene Version von Spotify installieren? [Y/N]" - DelNew = "Deinstalliere eine ungetestete Version von Spotify..." DownSpoti = "Installiere Spotify" DownSpoti2 = "Bitte warten..." PodcatsOff = "Podcasts Aus" diff --git a/scripts/installer-lang/el.ps1 b/scripts/installer-lang/el.ps1 index 724adf3..5779a93 100644 --- a/scripts/installer-lang/el.ps1 +++ b/scripts/installer-lang/el.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "Αυτόματη απεγκατάσταση Spotify MS..." MsSpoti4 = "Απεγκατάσταση Spotify MS..." Prem = "Τροποποίηση για premium λογαριασμό..." - OldV = "Βρέθηκε ξεπερασμένη έκδοση του Spotify" OldV2 = "Η έκδοση Spotify {0} είναι ξεπερασμένη, συνιστάται η αναβάθμιση σε {1}" OldV3 = "Θέλετε να ενημερώσετε; [Y/N]" - AutoUpd = "Αυτόματη αναβάθμιση στην προτεινόμενη έκδοση" DelOrOver = "Θέλετε να απεγκαταστήσετε την τρέχουσα έκδοση του {0} η να αντικατασταθεί; Y [Απεγκατάσταση] / N [Αντικατάσταση]" - DelOld = "Απεγκατάσταση του παλιού Spotify..." - NewV = "Μη υποστηριζόμενη έκδοση του Spotify βρέθηκε" + DelSpotify = "Απεγκατάσταση Spotify..." NewV2 = "Η έκδοσή σας στο Spotify {0} δεν έχει δοκιμαστεί ακόμα, αυτή τη στιγμή είναι σταθερή {1} έκδοση" NewV3 = "Θέλετε να συνεχίσετε με την {0} έκδοση (πιθανά σφάλματα); [Y/N]" Recom = "Θέλετε να εγκαταστήσετε την προτεινόμενη {0} έκδοση; [Y/N]" - DelNew = "Απεγκατάσταση μη δοκιμασμένου Spotify..." DownSpoti = "Λήψη και εγκατάσταση Spotify" DownSpoti2 = "Παρακαλώ περιμένετε..." PodcatsOff = "Podcasts Απενεργοποιημένα" diff --git a/scripts/installer-lang/en.ps1 b/scripts/installer-lang/en.ps1 index 7a885a4..fa07e3e 100644 --- a/scripts/installer-lang/en.ps1 +++ b/scripts/installer-lang/en.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "Automatically uninstalling Spotify MS..." MsSpoti4 = "Uninstalling Spotify MS..." Prem = "Modification for premium account..." - OldV = "Found outdated version of Spotify" OldV2 = "Your Spotify version ({0}) is outdated, the current latest version is — {1}" OldV3 = "Want to update ? [Y/N]" - AutoUpd = "Automatic update to the recommended version" DelOrOver = "Remove the current version ({0}) or install over it? Y [Remove] / N [Install Over]" - DelOld = "Uninstalling old Spotify..." - NewV = "Unsupported version of Spotify found" + DelSpotify = "Uninstalling Spotify..." NewV2 = "Your Spotify version ({0}) has not been tested. The stable version for SpotX is {1}" NewV3 = "Continue with {0} (errors may occur) ? [Y/N]" Recom = "Install the latest version {0} ? [Y/N]" - DelNew = "Uninstalling an untested Spotify..." DownSpoti = "Downloading and installing Spotify" DownSpoti2 = "Please wait..." PodcatsOff = "Off Podcasts" diff --git a/scripts/installer-lang/es.ps1 b/scripts/installer-lang/es.ps1 index c70eeef..515a03e 100644 --- a/scripts/installer-lang/es.ps1 +++ b/scripts/installer-lang/es.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "Desinstalación automática de Spotify de Microsoft Store..." MsSpoti4 = "Desinstalación de Spotify de Microsoft Store..." Prem = "Modificación para la cuenta prémium..." - OldV = "Se ha encontrado una versión obsoleta de Spotify" OldV2 = "Su versión de Spotify {0} está obsoleta, se recomienda actualizar a {1}" OldV3 = "¿Quiere actualizar? [Y/N]" - AutoUpd = "Actualización automática a la versión recomendada" DelOrOver = "¿Desea desinstalar la versión actual de {0} o instalar sobre ella? Y [Desinstalar] / N [Instalar encima]" - DelOld = "Desinstalando el antiguo Spotify..." - NewV = "Se ha encontrado una versión no compatible de Spotify" + DelSpotify = "Desinstalando Spotify..." NewV2 = "Su versión de Spotify {0} aún no se ha probado; actualmente la versión estable es la {1}" NewV3 = "¿Quieres continuar con la versión {0} (posibles errores)? [Y/N]" Recom = "¿Desea instalar la versión recomendada {0}? [Y/N]" - DelNew = "Desinstalando un Spotify no probado..." DownSpoti = "Descargando e instalando Spotify" DownSpoti2 = "Espere un momento..." PodcatsOff = "Pódcast desactivados" diff --git a/scripts/installer-lang/fa.ps1 b/scripts/installer-lang/fa.ps1 index 84e8fb4..1044fa3 100644 --- a/scripts/installer-lang/fa.ps1 +++ b/scripts/installer-lang/fa.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "حذف خودکار اسپاتیفای MS" MsSpoti4 = "حذف نصب اسپاتیفای MS" Prem = "تغییر برای حساب پریمیوم" - OldV = "نسخه قدیمی اسپاتیفای پیدا شد" OldV2 = "نسخه اسپاتیفای {0} شما قدیمی است، توصیه می شود به {1} ارتقا دهید" OldV3 = "می خواهید به روز رسانی کنید؟ [Y/N]" - AutoUpd = "به روز رسانی خودکار به نسخه پیشنهادی" DelOrOver = "آیا می خواهید نسخه فعلی {0} را حذف نصب کنید یا روی آن نصب کنید؟ Y [Uninstall] / N [Install Over]" - DelOld = "حذف نصب اسپاتیفای قدیمی" - NewV = "نسخه پشتیبانی نشده اسپاتیفای پیدا شد" + DelSpotify = "حذف نصب اسپاتیفای..." NewV2 = "نسخه اسپاتیفای {0} شما هنوز آزمایش نشده است، در حال حاضر یک نسخه پایدار {1} است" NewV3 = "آیا می خواهید با نسخه {0} ادامه دهید (خطا ممکن است رخ دهد)؟ [Y/N]" Recom = "آیا می خواهید نسخه پیشنهادی {0} را نصب کنید؟ [Y/N]" - DelNew = "حذف نصب اسپاتیفای تست نشده..." DownSpoti = "دانلود و نصب اسپاتیفای" DownSpoti2 = "لطفا صبر کنید..." PodcatsOff = "خاموش کردن پادکست" diff --git a/scripts/installer-lang/fi.ps1 b/scripts/installer-lang/fi.ps1 index 55e4417..5018abf 100644 --- a/scripts/installer-lang/fi.ps1 +++ b/scripts/installer-lang/fi.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "Spotifyn Microsoft Store -version automaattinen poistaminen..." MsSpoti4 = "Poistetaan Spotifyn Microsoft Store -versiota." Prem = "Muunnos premium-tiliin..." - OldV = "Spotifysta löytyi vanhentunut versio" OldV2 = "Spotify {0} -versiosi on vanhentunut, on suositeltavaa päivittää versioon {1}" OldV3 = "Haluatko päivittää? [Y/N]" - AutoUpd = "Automaattinen päivitys suositeltuun versioon" DelOrOver = "Haluatko poistaa nykyisen version {0} vai asentaa sen päälle? Y [Poista asennus] / N [Asenna edellisen päälle]" - DelOld = "Poistetaan vanhaa Spotify versiota..." - NewV = "Spotifyn ei-tuettu versio löytyi" + DelSpotify = "Poistetaan Spotifyta..." NewV2 = "Spotify-versiotasi {0} ei ole vielä testattu, tällä hetkellä versio {1} on vakaa" NewV3 = "Haluatko jatkaa versiolla {0} (bugit sekä virheet mahdollista)? [Y/N]" Recom = "Haluatko asentaa suositellun {0} version? [Y/N]" - DelNew = "Poistetaan testaamattoman Spotify versiota..." DownSpoti = "Ladataan ja asennetaan spotify:tä" DownSpoti2 = "Odota hetki..." PodcatsOff = "podcastit poissa päältä" diff --git a/scripts/installer-lang/fil.ps1 b/scripts/installer-lang/fil.ps1 index 32394c5..32edd93 100644 --- a/scripts/installer-lang/fil.ps1 +++ b/scripts/installer-lang/fil.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "Awtomatikong i-uninstall ang Spotify na MS..." MsSpoti4 = "Ina-uninstall ang Spotify MS..." Prem = "Pagbabago para sa premium account..." - OldV = "Natagpuan ang lumang bersyon ng Spotify" OldV2 = "Ang iyong bersyon ng Spotify na {0} ay luma na, ito ay inirerekomenda na i-upgrade sa {1}" OldV3 = "Gusto mo ba mag-update? [Y/N]" - AutoUpd = "Awtomatikong i-update sa inirerekumendang bersyon" DelOrOver = "Gusto mo bang i-uninstall ang kasalukuyang bersyon ng {0} o mag-install ng panibagong bersyon? Y [I-uninstall] / N [Mag-install ng Panibagong Bersyon]" - DelOld = "Tinatanggal ang lumang Spotify..." - NewV = "Natagpuan ang hindi suportadong bersyon ng Spotify" + DelSpotify = "Ina-uninstall ang Spotify..." NewV2 = "Ang iyong bersyon ng Spotify {0} ay hindi pa nasusubukan, kasalukuyang ito ay nasa stable na bersyon na {1}" NewV3 = "Gusto mo bang magpatuloy sa {0} bersyon (mayroong mga error)? [Y/N]" Recom = "Gusto mo bang mag-install ng inirerekumendang {0} na bersyon? [Y/N]" - DelNew = "Ina-uninstall ang hindi pa nasusubukan na Spotify..." DownSpoti = "Nagda-download at nag-i-install ng Spotify" DownSpoti2 = "Mangyaring maghintay..." PodcatsOff = "I-off ang mga Podcast" diff --git a/scripts/installer-lang/fr.ps1 b/scripts/installer-lang/fr.ps1 index 62f8d02..98efa64 100644 --- a/scripts/installer-lang/fr.ps1 +++ b/scripts/installer-lang/fr.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "Désinstallation automatique de Spotify MS..." MsSpoti4 = "Désinstallation de Spotify MS..." Prem = "Modification pour compte premium..." - OldV = "Ancienne version de Spotify trouvée" OldV2 = "Votre version Spotify {0} est obsolète, il est recommandé de mettre à jour vers la {1}" OldV3 = "Voulez-vous faire la mise à jour ? [Y/N]" - AutoUpd = "Mise à jour automatique vers la version recommandée" DelOrOver = "Voulez-vous désinstaller la version actuelle {0} ou installer par dessus ? Y [Désinstaller] / N [Installer par dessus]" - DelOld = "Désinstallation de l'ancienne version de Spotify..." - NewV = "Version non supportée de Spotify trouvée" + DelSpotify = "Désinstallation de Spotify..." NewV2 = "Votre version {0} de Spotify n'a pas encore été testée, actuellement {1} est une version stable" NewV3 = "Voulez-vous continuer avec la version {0} (erreurs possibles) ? [Y/N]" Recom = "Voulez-vous installer la version {0} recommandée ? [Y/N]" - DelNew = "Désinstallation d'une version de Spotify non testée..." DownSpoti = "Téléchargement et installation de Spotify" DownSpoti2 = "Veuillez patienter..." PodcatsOff = "Podcasts désactivés" diff --git a/scripts/installer-lang/hi.ps1 b/scripts/installer-lang/hi.ps1 index 21b2b26..f7c23ff 100644 --- a/scripts/installer-lang/hi.ps1 +++ b/scripts/installer-lang/hi.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "Spotify MS अपने आप अनइंस्टॉल हो रहा है..." MsSpoti4 = "Spotify MS अनइंस्टॉल किया जा रहा है..." Prem = "प्रीमियम अकाउंट के लिए मॉडिफिकेशन किया जा रहा है..." - OldV = "Spotify का पुराना वर्जन मिला" OldV2 = "आपका Spotify वर्जन ({0}) पुराना है। लेटेस्ट वर्जन {1} है" OldV3 = "क्या आप अपडेट करना चाहते हैं? [Y/N]" - AutoUpd = "सुझाए गए वर्जन पर ऑटोमेटिक अपडेट" DelOrOver = "मौजूदा वर्जन ({0}) को हटाएँ या इसी पर इंस्टॉल करें? Y [हटाएँ] / N [इसी पर इंस्टॉल करें]" - DelOld = "पुराना Spotify अनइंस्टॉल किया जा रहा है..." - NewV = "Spotify का अनसपोर्टेड वर्जन मिला" + DelSpotify = "Spotify अनइंस्टॉल किया जा रहा है..." NewV2 = "आपके Spotify वर्जन ({0}) को टेस्ट नहीं किया गया है। SpotX के लिए स्टेबल वर्जन {1} है" NewV3 = "क्या आप वर्जन {0} के साथ जारी रखना चाहते हैं (इसमें समस्याएं आ सकती हैं)? [Y/N]" Recom = "क्या आप लेटेस्ट वर्जन {0} इंस्टॉल करना चाहते हैं? [Y/N]" - DelNew = "टेस्ट न किए गए Spotify को अनइंस्टॉल किया जा रहा है..." DownSpoti = "Spotify डाउनलोड और इंस्टॉल किया जा रहा है" DownSpoti2 = "कृपया प्रतीक्षा करें..." PodcatsOff = "पॉडकास्ट बंद" diff --git a/scripts/installer-lang/hu.ps1 b/scripts/installer-lang/hu.ps1 index 7ba3886..62a9a5d 100644 --- a/scripts/installer-lang/hu.ps1 +++ b/scripts/installer-lang/hu.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "A Spotify MS automatikus eltávolítása..." MsSpoti4 = "Spotify MS eltávolítása..." Prem = "Módosítás a prémium fiókhoz..." - OldV = "A Spotify elavult verziója van telepítve" OldV2 = "A Spotify {0} verziója elavult, ajánlott frissíteni a {1} verzióra." OldV3 = "Szeretné frissíteni ? [Y/N]" - AutoUpd = "Automatikus frissítés a javasolt verzióra" DelOrOver = "A {0} jelenlegi verzióját szeretné eltávolítani vagy telepíteni rá? Y [Eltávolítás] / N [Felül telepítés]" - DelOld = "A régi Spotify eltávolítása..." - NewV = "A Spotify nem támogatott verziója van telepítve" + DelSpotify = "Spotify eltávolítása..." NewV2 = "A Spotify {0} verzióját még nem teszteltük, jelenlegi stabil verzió: {1}. " NewV3 = "Folytatni szeretné a {0} verzióval (hibák léphetnek fel) ? [Y/N]" Recom = "Szeretné telepíteni a {0} ajánlott verziót? [Y/N]" - DelNew = "Nem tesztelt Spotify eltávolítása..." DownSpoti = "A Spotify letöltése és telepítése" DownSpoti2 = "Kérem várjon..." PodcatsOff = "Podcastok kikapcsolása" diff --git a/scripts/installer-lang/id.ps1 b/scripts/installer-lang/id.ps1 index 82c1c2b..cfc0d44 100644 --- a/scripts/installer-lang/id.ps1 +++ b/scripts/installer-lang/id.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "Menghapus Spotify MS secara otomatis..." MsSpoti4 = "Menghapus Spotify MS..." Prem = "Modifikasi untuk akun premium..." - OldV = "Versi lama Spotify ditemukan" OldV2 = "Versi Spotify {0} Anda sudah usang, disarankan untuk upgrade ke versi {1}" OldV3 = "Ingin mengupdate? [Y/N]" - AutoUpd = "Pembaruan otomatis ke versi yang direkomendasikan" DelOrOver = "Apakah Anda ingin menghapus versi {0} saat ini atau menimpanya? Y [Uninstall] / N [Timpa]" - DelOld = "Menghapus Spotify lama..." - NewV = "Ditemukan versi Spotify yang tidak didukung" + DelSpotify = "Menghapus Spotify..." NewV2 = "Versi Spotify {0} Anda belum diuji, saat ini adalah versi {1} yang stabil" NewV3 = "Ingin melanjutkan dengan versi {0} (mungkin ada kesalahan)? [Y/N]" Recom = "Ingin menginstal versi {0} yang direkomendasikan? [Y/N]" - DelNew = "Menghapus Spotify yang belum diuji..." DownSpoti = "Mengunduh dan menginstal Spotify" DownSpoti2 = "Tunggu sebentar..." PodcatsOff = "Podcast Nonaktif" diff --git a/scripts/installer-lang/it.ps1 b/scripts/installer-lang/it.ps1 index 02db802..80ceff7 100644 --- a/scripts/installer-lang/it.ps1 +++ b/scripts/installer-lang/it.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "Disinstallazione automatica di Spotify MS..." MsSpoti4 = "Disinstallazione di Spotify MS..." Prem = "Modifica per account premium..." - OldV = "Trovata vecchia versione di Spotify" OldV2 = "La tua versione di Spotify {0} è vecchia, la versione attuale più recente è — {1}" OldV3 = "Vorresti aggiornare ? [Y/N]" - AutoUpd = "Aggiornamento automatico alla versione consigliata" DelOrOver = "Rimuovere la versione attuale {0} o sovrascriverla? Y [Rimuovi] / N [Sovrascrivi]" - DelOld = "Disinstallando vecchia versione di Spotify..." - NewV = "Trovata versione di Spotify non supportata" + DelSpotify = "Disinstallando Spotify..." NewV2 = "La tua versione {0} di Spotify non è stata testata. La versione stabile per SpotX è {1}" NewV3 = "Continuare con {0} (possibili errori) ? [Y/N]" Recom = "Installare l'ultima versione {0} ? [Y/N]" - DelNew = "Disinstallando una versione non testata di Spotify..." DownSpoti = "Scaricando ed installando Spotify" DownSpoti2 = "Attendere..." PodcatsOff = "Podcasts OFF" diff --git a/scripts/installer-lang/ja.ps1 b/scripts/installer-lang/ja.ps1 index 3af0d8a..29975a4 100644 --- a/scripts/installer-lang/ja.ps1 +++ b/scripts/installer-lang/ja.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "Spotify MS 版を自動でアンインストール中..." MsSpoti4 = "Spotify MS 版をアンインストール中..." Prem = "Premium アカウント用の修正..." - OldV = "古い Spotify を使用中です" OldV2 = "お使いの Spotify のバージョン {0} は古いため以下へのアップグレードを推奨 {1}" OldV3 = "更新しますか ? [Y/N]" - AutoUpd = "推奨するバージョンに自動更新" DelOrOver = "既存のバージョン {0} をアンインストール、または上書しますか ? Y [アンインストール] / N [上書き]" - DelOld = "古い Spotify をアンインストール中..." - NewV = "未対応の Spotify のバージョンです" + DelSpotify = "Spotify をアンインストール中..." NewV2 = "お使いの Spotify のバージョン {0} はまだ検証しておらず現在の安定バージョンは {1}" NewV3 = "バージョン {0} のままぞこうしますか (エラーの可能性) ? [Y/N]" Recom = "推奨するバージョン {0} をインストールしますか ? [Y/N]" - DelNew = "未検証版の Spotify をアンインストール..." DownSpoti = "Spotify をダウンロードしインストール" DownSpoti2 = "お待ちください..." PodcatsOff = "ポッドキャスト 有効" diff --git a/scripts/installer-lang/ka.ps1 b/scripts/installer-lang/ka.ps1 index 7f83d9b..f787fb0 100644 --- a/scripts/installer-lang/ka.ps1 +++ b/scripts/installer-lang/ka.ps1 @@ -11,22 +11,18 @@ Download4 = "შეამოწმეთ თქვენი კავშირი ქსელთან და თავიდან სცადე ინსტალაცია" Download5 = "Spotify იწერება" StopScript = "სკრიპტი ჩერდება" - MsSpoti = "Microsoft Store-ის ვერსია მოიძებნა რომელიც არ არის მხარდაჯერილი" + MsSpoti = "Microsoft Store-ის ვერსია მოიძებნა რომელიც არ არის მხარდაჯერილი" MsSpoti2 = "წავშალოთ Spotify Microsoft Store-ის ვერსია [Y/N]" MsSpoti3 = "ავტუმატურად იშლება Spotify MS..." MsSpoti4 = "იშლება Spotify MS..." Prem = "მოდიფიკაცია პრემიუმ აკკოუნტის..." - OldV = "მოიძებნა მოძველებული Spotify-ს ვერსია" OldV2 = "თქვენი Spotify-ს {0} ვერსია არის მოძველებული, რეკომენდურია მისი აპგრეიდობა ამ ვერსიაზე {1}" OldV3 = "გინდა განაახლოთ ? [Y/N]" - AutoUpd = "აუტომატიკური აპდაიტი რეკომენდებულ ვერსიაზე" DelOrOver = "გინდა წაშალო ეხლანდელი ვერსია: {0} თუ თავიდან ჩაწერა? Y [წაშლა] / N [თავიდან ჩაწერა]" - DelOld = "ძველი Spotify იშლება..." - NewV = "არა მხარდაჯერილი Spotify-ს ვერსია არის მოწებნილი" + DelSpotify = "Spotify იშლება..." NewV2 = "თქვენი Spotify-ს {0} ვერსია ჯერ არ არის დატესტილი, ამჟამად არის სტაბილური {1} ვერსია" NewV3 = "გინდათ რომ გააგრძელოთ {0} ვერსიაზე (შეცდომები შესაძლებელია) ? [Y/N]" Recom = "გინდათ რო ჩაიწეროთ რეკომენდირებული {0} ვერსია ? [Y/N]" - DelNew = "იშლება არა ტესტირებულ Spotify..." DownSpoti = "ვტვირთავთ და ვიწერთ Spotify-ს" DownSpoti2 = "გთხოვთ დაიცადოთ..." PodcatsOff = "პოდკასტები გათიშული" diff --git a/scripts/installer-lang/ko.ps1 b/scripts/installer-lang/ko.ps1 index ef24c34..e868b45 100644 --- a/scripts/installer-lang/ko.ps1 +++ b/scripts/installer-lang/ko.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "Spotify Microsoft Store 버전을 자동으로 제거하는 중..." MsSpoti4 = "Spotify Microsoft Store 버전을 제거하는 중..." Prem = "프리미엄 계정을 위한 모드..." - OldV = "Spotify 구버전을 감지했습니다" OldV2 = "Spotify {0} 버전은 오래되었습니다, {1} 버전으로 업데이트하시는 것을 추천합니다" OldV3 = "업데이트를 진행할까요? [Y/N]" - AutoUpd = "권장 버전으로 자동 업데이트할까요?" DelOrOver = "설치된 {0} 버전을 제거할까요? 아니면 덮어쓰고 설치할까요? Y [제거] / N [덮어쓰고 설치]" - DelOld = "구버전의 Spotify를 제거하는 중..." - NewV = "지원되지 않는 버전의 Spotify가 감지되었습니다" + DelSpotify = "Spotify를 제거하는 중..." NewV2 = "Spotify {0} 버전은 아직 테스트되지 않았습니다, 현재 최신 안정 버전은 {1} 입니다" NewV3 = "{0} 버전으로 진행할까요? (오류가 발생할 수 있음) [Y/N]" Recom = "추천하는 {0} 버전을 설치할까요? [Y/N]" - DelNew = "테스트되지 않은 Spotify를 제거하는 중..." DownSpoti = "Spotify를 다운로드하고 설치하는 중" DownSpoti2 = "잠시만 기다려 주세요..." PodcatsOff = "팟캐스트 끄기" diff --git a/scripts/installer-lang/lv.ps1 b/scripts/installer-lang/lv.ps1 index 9e6b2c2..7c516e1 100644 --- a/scripts/installer-lang/lv.ps1 +++ b/scripts/installer-lang/lv.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "Automātiski izdzēš Spotify MS..." MsSpoti4 = "Izdzēš Spotify MS..." Prem = "Modifikācija premium kontam..." - OldV = "Spotify vecā versija bija konstatēta." OldV2 = "Tava Spotify {0} versija ir novecojusi, bet ir ieteicams atjaunot uz {1} versiju" OldV3 = "Vēlies atjaunot? [Y/N]" - AutoUpd = "Automātiski atjauno uz ieteicamo versiju" DelOrOver = "Vai vēlies izdzēst līdzšinejo {0} versiju vai instalēt ieteicamo versiju virs vecās? Y [Izdzēst] / N [Instalēt Virs]" - DelOld = "Izdzēš veco Spotify..." - NewV = "Atrasta neatbalstītā Spotify versija" + DelSpotify = "Izdzēšam Spotify..." NewV2 = "Tava Spotify {0} versija nav tikusi testēta, šobrīd stabilākā ir {1} versija" NewV3 = "Vai vēlies turpināt ar {0} versiju? (ir iespējamas kļūdas) [Y/N]" Recom = "Vai vēlies instalēt ieteikto {0} versiju? [Y/N]" - DelNew = "Izdzēšam netestēto Spotify..." DownSpoti = "Lejuplādējam un instalējam Spotify" DownSpoti2 = "Lūdzu nedaudz uzgaidiet..." PodcatsOff = "Raidieraksti ir izslēgti" diff --git a/scripts/installer-lang/pl.ps1 b/scripts/installer-lang/pl.ps1 index b4cc208..acade8f 100644 --- a/scripts/installer-lang/pl.ps1 +++ b/scripts/installer-lang/pl.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "Automatyczne odinstalowywanie Spotify z MS..." MsSpoti4 = "Odinstalowywanie Spotify MS..." Prem = "Modyfikacja dla konta premium..." - OldV = "Znaleziono przestarzałą wersję Spotify" OldV2 = "Twoja wersja Spotify {0} jest przestarzała, zalecana jest aktualizacja do wersji {1}" OldV3 = "Czy chcesz ją pobrać? [Y/N]" - AutoUpd = "Automatyczna aktualizacja do zalecanej wersji" DelOrOver = "Chcesz odinstalować aktualną wersję {0}, czy pobrać nową? Y [Odinstaluj] / N [Pobierz Nową]" - DelOld = "Odinstalowywanie nieaktualnej wersji Spotify..." - NewV = "Wykryto niewspieraną wersję Spotify" + DelSpotify = "Odinstalowywanie Spotify..." NewV2 = "Twoja wersja {0} nie została jeszcze przetestowana, obecna jest to stabilna wersja {1} " NewV3 = "Czy chcesz kontynuować z wersją {0} (możliwe błędy)? [Y/N]" Recom = "Czy chcesz pobrać zalecaną wersję {0}? [Y/N]" - DelNew = "Odinstalowywanie nieprzetestowanej wersji Spotify..." DownSpoti = "Pobieranie i instalowanie Spotify" DownSpoti2 = "Proszę czekać..." PodcatsOff = "Podcasty wyłączone" diff --git a/scripts/installer-lang/pt.ps1 b/scripts/installer-lang/pt.ps1 index 068d912..414e421 100644 --- a/scripts/installer-lang/pt.ps1 +++ b/scripts/installer-lang/pt.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "Desinstalação automática do Spotify da MS..." MsSpoti4 = "Desinstalando Spotify da MS..." Prem = "Modificação para conta Premium..." - OldV = "Encontrada uma versão desatualizada do Spotify" OldV2 = "A sua versão {0} do Spotify está desatualizada, é recomendado atualizar para {1}" OldV3 = "Gostaria de atualizar? [Y/N]" - AutoUpd = "Atualização automática para a versão recomendada" DelOrOver = "Gostaria de desinstalar a versão atual {0} ou substituir a instalação atual? Y [Desinstalar] / N [Substituir]" - DelOld = "Desinstalando a versão antiga do Spotify..." - NewV = "Encontrada uma versão não suportada do Spotify" + DelSpotify = "Desinstalando Spotify..." NewV2 = "A sua versão do Spotify {0} não foi testada ainda, no momento, há uma versão estável {1}" NewV3 = "Gostaria de continuar com a versão {0} (possíveis erros) ? [Y/N]" Recom = "Gostaria de instalar a versão recomendada {0}? [Y/N]" - DelNew = "Desinstalando versão não testada do Spotify..." DownSpoti = "Baixando e instalando o Spotify" DownSpoti2 = "Aguarde..." PodcatsOff = "Podcasts desativado" diff --git a/scripts/installer-lang/ro.ps1 b/scripts/installer-lang/ro.ps1 index 1fc83e0..9bed40d 100644 --- a/scripts/installer-lang/ro.ps1 +++ b/scripts/installer-lang/ro.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "Dezinstalare automată a Spotify MS..." MsSpoti4 = "Se dezinstaleaza Spotify MS..." Prem = "Modificare pentru contul premium..." - OldV = "Am găsit o versiune învechită a Spotify" OldV2 = "Versiunea dvs. de Spotify {0} este învechită, se recomandă actualizarea la {1}" OldV3 = "Doriți să faceți o actualizare ? [Y/N]" - AutoUpd = "Actualizare automată la versiunea recomandată" DelOrOver = "Doriți să dezinstalați versiunea curentă de {0} sau să o instalați peste ea? Y [Dezinstalare] / N [Instalare peste]" - DelOld = "Dezinstalarea vechiului Spotify..." - NewV = "A fost găsită o versiune nesuportată de Spotify" + DelSpotify = "Se dezinstalează Spotify..." NewV2 = "Versiunea dvs. de Spotify {0} nu a fost încă testată, în prezent este o versiune stabilă {1}" NewV3 = "Doriți să continuați cu versiunea {0} (sunt posibile erori)? [Y/N]" Recom = "Doriți să instalați versiunea recomandată {0}? [Y/N]" - DelNew = "Se dezinstalează Spotify-ul netestat..." DownSpoti = "Se descarcă și instalează Spotify" DownSpoti2 = "Vă rugăm să așteptați..." PodcatsOff = "Podcasturi dezactivate" diff --git a/scripts/installer-lang/ru.ps1 b/scripts/installer-lang/ru.ps1 index e41c385..e60f1fa 100644 --- a/scripts/installer-lang/ru.ps1 +++ b/scripts/installer-lang/ru.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "Автоматическое удаление Spotify MS..." MsSpoti4 = "Удаление Spotify MS..." Prem = "Модификация для премиум аккаунта..." - OldV = "Найдена устаревшая версия Spotify" OldV2 = "Ваша версия Spotify ({0}) устарела. Текущая актуальная версия — {1}" OldV3 = "Обновить ? [Y/N]" - AutoUpd = "Автоматическое обновление до рекомендуемой версии" DelOrOver = "Удалить текущую версию ({0}) или установить поверх? Y [Удалить] / N [Поверх]" - DelOld = "Удаление устаревшего Spotify..." - NewV = "Найдена неподдерживаемая версия Spotify" + DelSpotify = "Удаление Spotify..." NewV2 = "Ваша версия Spotify ({0}) не тестировалась. Стабильная версия для SpotX — {1}" NewV3 = "Продолжить с {0} (возможны ошибки) ? [Y/N]" Recom = "Установить последнюю версию {0} ? [Y/N]" - DelNew = "Удаление неподдерживаемого Spotify..." DownSpoti = "Загружаю и устанавливаю Spotify" DownSpoti2 = "Пожалуйста подождите..." PodcatsOff = "Подкасты отключены" diff --git a/scripts/installer-lang/sk.ps1 b/scripts/installer-lang/sk.ps1 index 790624f..5282831 100644 --- a/scripts/installer-lang/sk.ps1 +++ b/scripts/installer-lang/sk.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "Automaticky odinštalovávam Spotify z Microsoft Store..." MsSpoti4 = "Odinštalovávam Spotify z Microsoft Store..." Prem = "Úprava kvôli prémiovému účtu..." - OldV = "Nájdená stará verzia Spotify" OldV2 = "Tvoja Spotify {0} verzia je stará, je odporúčané aktualizovať na verziu {1}" OldV3 = "Chcete aktualizovať ? [Y/N]" - AutoUpd = "Automatická aktualizácia na odporúčanú verziu" DelOrOver = "Chcete odinštalovať terajšiu verziu {0} alebo inštalovať novšiu na terajšiu(ostanú niektoré súbory)? Y [Odinštaluj] / N [Inštaluj novšiu na terajšiu]" - DelOld = "Odinštalovávam staré Spotify..." - NewV = "Nepodporovaná verzia Spotify bola nájdená" + DelSpotify = "Odinštalovávam Spotify..." NewV2 = "Tvoja Spotify {0} verzia zatiaľ nebola testovaná, teraz je stabilná {1} verzia" NewV3 = "Chcete pokračovať s {0} verziou (môžu nastať chyby) ? [Y/N]" Recom = "Chcete nainštalovať odporúčanú {0} verziu ? [Y/N]" - DelNew = "Odinštalovávam netestovanú verziu Spotify..." DownSpoti = "Sťahujem a inštalujem Spotify" DownSpoti2 = "Prosím čakajte..." PodcatsOff = "Vypni podcasty" diff --git a/scripts/installer-lang/sr-Latn.ps1 b/scripts/installer-lang/sr-Latn.ps1 index 0d10de3..3223090 100644 --- a/scripts/installer-lang/sr-Latn.ps1 +++ b/scripts/installer-lang/sr-Latn.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "Automatska deinstalacija Spotify MS..." MsSpoti4 = "Deinstalacija Spotify MS..." Prem = "Modifikacija za premijum nalog..." - OldV = "Pronađena je zastarela verzija Spotify-ja" OldV2 = "Vaša verzija Spotify-ja {0} je zastarela, trenutno najnovija verzija je {1}" OldV3 = "Želite li da ažurirate? [Y/N]" - AutoUpd = "Automatsko ažuriranje na preporučenu verziju" DelOrOver = "Želite li da deinstalirate trenutnu verziju {0} ili da instalirate preko nje? Y [Deinstaliraj] / N [Preko]" - DelOld = "Deinstalacija starog Spotify-ja..." - NewV = "Pronađena je nepodržana verzija Spotify-ja" + DelSpotify = "Deinstalacija Spotify-ja..." NewV2 = "Vaša verzija Spotify-ja {0} još nije testirana, trenutna stabilna verzija je {1}" NewV3 = "Želite li da nastavite sa verzijom {0} (moguće su greške)? [Y/N]" Recom = "Želite li da instalirate poslednju verziju {0}? [Y/N]" - DelNew = "Deinstalacija netestiranog Spotify-ja..." DownSpoti = "Preuzimanje i instalacija Spotify-ja" DownSpoti2 = "Molimo sačekajte..." PodcatsOff = "Isključi podkaste" diff --git a/scripts/installer-lang/sr.ps1 b/scripts/installer-lang/sr.ps1 index a4fbfae..7e06917 100644 --- a/scripts/installer-lang/sr.ps1 +++ b/scripts/installer-lang/sr.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "Аутоматска деинсталација Spotify MS..." MsSpoti4 = "Деинсталација Spotify MS..." Prem = "Модификација за премијум налог..." - OldV = "Пронађена је застарела верзија Spotify-ја" OldV2 = "Ваша верзија Spotify-ја {0} је застарела, тренутно најновија верзија је {1}" OldV3 = "Желите ли да ажурирате? [Y/N]" - AutoUpd = "Аутоматско ажурирање на препоручену верзију" DelOrOver = "Желите ли да деинсталирате тренутну верзију {0} или да инсталирате преко ње? Y [Деинсталирај] / N [Преко]" - DelOld = "Деинсталација старог Spotify-ја..." - NewV = "Пронађена је неподржана верзија Spotify-ја" + DelSpotify = "Деинсталација Spotify-ја..." NewV2 = "Ваша верзија Spotify-ја {0} још није тестирана, тренутна стабилна верзија је {1}" NewV3 = "Желите ли да наставите са верзијом {0} (могуће су грешке)? [Y/N]" Recom = "Желите ли да инсталирате последњу верзију {0}? [Y/N]" - DelNew = "Деинсталација нетестираног Spotify-ја..." DownSpoti = "Преузимање и инсталација Spotify-ја" DownSpoti2 = "Молимо сачекајте..." PodcatsOff = "Искључи подкасте" diff --git a/scripts/installer-lang/sv.ps1 b/scripts/installer-lang/sv.ps1 index 8185ace..873994d 100644 --- a/scripts/installer-lang/sv.ps1 +++ b/scripts/installer-lang/sv.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "Avinstallerar Spotify MS automatiskt..." MsSpoti4 = "Avinstallerar Spotify MS..." Prem = "Modifiering för premiumkonto..." - OldV = "Hittade en föråldrad version av Spotify" OldV2 = "Din Spotify {0} version är föråldrad, det rekommenderas att uppgradera till {1}" OldV3 = "Vill du uppdatera? [Y/N]" - AutoUpd = "Automatisk uppdatering till den rekommenderade versionen" DelOrOver = "Vill du avinstallera den aktuella versionen av {0} eller installera över den? Y [Avinstallera] / N [Installera över]" - DelOld = "Avinstallerar gamla Spotify..." - NewV = "En version av Spotify som inte stöds hittades" + DelSpotify = "Avinstallerar Spotify..." NewV2 = "Din Spotify {0} version har inte testats ännu, för närvarande är den en stabil {1} version" NewV3 = "Vill du fortsätta med {0} version (fel möjliga)? [Y/N]" Recom = "Vill du installera den rekommenderade versionen av {0}? [Y/N]" - DelNew = "Avinstallerar en oprövad Spotify..." DownSpoti = "Ladda ner och installerar Spotify" DownSpoti2 = "Vänta..." PodcatsOff = "Podcasts av" diff --git a/scripts/installer-lang/ta.ps1 b/scripts/installer-lang/ta.ps1 index 0c467e3..f170ec7 100644 --- a/scripts/installer-lang/ta.ps1 +++ b/scripts/installer-lang/ta.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "MS Spotifyயை தானாக நிறுவல் நீக்குகிறது..." MsSpoti4 = "MS Spotifyயை நிறுவல் நீக்குகிறது..." Prem = "Premium கணக்கிற்கான மாற்றம்..." - OldV = "Spotifyயின் காலாவதியான பதிப்பு கண்டறியப்பட்டது" OldV2 = "உங்கள் Spotify {0} பதிப்பு காலாவதியானது, {1}க்கு மேம்படுத்த பரிந்துரைக்கப்படுகிறது" OldV3 = "புதுப்பிக்க வேண்டுமா? [Y/N]" - AutoUpd = "பரிந்துரைக்கப்பட்ட பதிப்பிற்கான தானியங்கி புதுப்பிப்பு" DelOrOver = "{0}யின் தற்போதைய பதிப்பை நிறுவல்நீக்கம் செய்ய விரும்புகிறீர்களா அல்லது நீங்கள் அதன் மீதே நிறுவ விரும்புகிறீர்கள்? Y [Uninstall] / N [Install Over]" - DelOld = "பழைய Spotifyயை நிறுவல் நீக்குகிறது..." - NewV = "Spotifyயின் ஆதரிக்கப்படாத பதிப்பு கண்டறியப்பட்டது" + DelSpotify = "Spotifyயை நிறுவல் நீக்குகிறது..." NewV2 = "உங்கள் Spotify {0} பதிப்பு இன்னும் சோதிக்கப்படவில்லை, தற்போது {1} பதிப்பு நிலையானது" NewV3 = "{0} பதிப்பைத் தொடர விரும்புகிறீர்களா (பிழைகள் சாத்தியம்) ? [Y/N]" Recom = "பரிந்துரைக்கப்பட்ட {0} பதிப்பை நிறுவ விரும்புகிறீர்களா ? [Y/N]" - DelNew = "சோதிக்கப்படாத Spotifyயை நிறுவல் நீக்குகிறது..." DownSpoti = "Spotifyயைப் பதிவிறக்கி நிறுவுகிறது" DownSpoti2 = "தயவுசெய்து காத்திருங்கள்..." PodcatsOff = "Off Podcasts" diff --git a/scripts/installer-lang/tr.ps1 b/scripts/installer-lang/tr.ps1 index 3634b5a..da6527f 100644 --- a/scripts/installer-lang/tr.ps1 +++ b/scripts/installer-lang/tr.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "Spotify MS otomatik olarak kaldırlıyor..." MsSpoti4 = "Spotify MS kaldırılıyor..." Prem = "Premium hesap için modifikasyon ..." - OldV = "Spotify'ın eski bir sürümü bulundu" OldV2 = "Spotify'ın {0} sürümü güncel değil, {1} sürümüne yükseltmeniz önerilir" OldV3 = "Güncelleme yapılsın mı? [Y/N]" - AutoUpd = "Önerilen sürüme otomatik olarak güncelle" DelOrOver = "Mevcut {0} sürümünü kaldırmak mı yoksa üzerine yüklemek mi istiyorsunuz? Y [Kaldır] / N [Üzerine Yükle]" - DelOld = "Eski Spotify kaldırılıyor..." - NewV = "Desteklenmeyen Spotify sürümü bulundu" + DelSpotify = "Spotify kaldırılıyor..." NewV2 = "Spotify {0} sürümü henüz test edilmedi, şu anda kararlı olan {1} sürümüdür" NewV3 = "{0} sürümü ile devam etmek istiyor musunuz (hatalar olabilir) ? [Y/N]" Recom = "Önerilen {0} sürümünü yüklemek istiyor musunuz? [Y/N]" - DelNew = "Test edilmemiş Spotify kaldırılıyor..." DownSpoti = "Spotify indiriliyor ve kuruluyor" DownSpoti2 = "Lütfen bekleyin..." PodcatsOff = "Podcastler Kapalı" diff --git a/scripts/installer-lang/uk.ps1 b/scripts/installer-lang/uk.ps1 index df35b58..2e0f9da 100644 --- a/scripts/installer-lang/uk.ps1 +++ b/scripts/installer-lang/uk.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "Автоматичне видалення Spotify MS..." MsSpoti4 = "Видалення Spotify MS..." Prem = "Модифікація для преміумкористувачів..." - OldV = "Знайдена застаріла версія Spotify" OldV2 = "Ваша версія Spotify {0} застаріла, її рекомендовано оновити до {1}" OldV3 = "Хочете оновитися ? [Y/N]" - AutoUpd = "Автоматичне оновлення на рекомендовану версію" DelOrOver = "Хочете видалити наявну версію {0} або встановити нову поряд? Y [Видалити] / N [Встановити поряд]" - DelOld = "Видалення старої версії Spotify..." - NewV = "Непідтримувана версія Spotify знайдена" + DelSpotify = "Видалення Spotify..." NewV2 = "Ваша версія Spotify {0} ще не була протестована, стабільна версія наразі {1}" NewV3 = "Чи хочете продовжити на версії {0} (можливі помилки) ? [Y/N]" Recom = "Чи хочете встановити рекомендовану версію {0} ? [Y/N]" - DelNew = "Видалення непротестованої версії Spotify..." DownSpoti = "Завантаження та встановлення Spotify" DownSpoti2 = "Зачекайте, будь-ласка..." PodcatsOff = "Вимкнути подкасти" diff --git a/scripts/installer-lang/vi.ps1 b/scripts/installer-lang/vi.ps1 index bda9b07..45c2bfa 100644 --- a/scripts/installer-lang/vi.ps1 +++ b/scripts/installer-lang/vi.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "Đang tự động gỡ Spotify MS..." MsSpoti4 = "Đang gỡ Spotify MS..." Prem = "Chỉnh sửa dành cho tài khoản premium..." - OldV = "Phát hiện Spotify phiên bản cũ" OldV2 = "Phiên bản Spotify {0} của bạn đã cũ, khuyến khích nâng cấp lên {1}" OldV3 = "Bạn có muốn cập nhật không ? [Y/N]" - AutoUpd = "Tự động cập nhật lên phiên bản được đề xuất" DelOrOver = "Bạn muốn gỡ phiên bản hiện tại {0} hay cài đè lên? Y [Gỡ] / N [Cài đè lên]" - DelOld = "Đang gỡ Spotify bản cũ..." - NewV = "Phát hiện phiên bản không được hỗ trợ" + DelSpotify = "Đang gỡ Spotify..." NewV2 = "Phiên bản Spotify {0} chưa được kiểm thử, hiện tại bản ổn định là {1}" NewV3 = "Bạn có muốn tiếp tục với phiên bản {0} (có thể bị lỗi) ? [Y/N]" Recom = "Bạn có muốn cài đặt phiên bản được đề xuất: {0} ? [Y/N]" - DelNew = "Đang gỡ phiên bản Spotify chưa được kiểm thử..." DownSpoti = "Đang tải và cài Spotify" DownSpoti2 = "Vui lòng chờ..." PodcatsOff = "Tắt Podcasts" diff --git a/scripts/installer-lang/zh-TW.ps1 b/scripts/installer-lang/zh-TW.ps1 index 164f549..6494be9 100644 --- a/scripts/installer-lang/zh-TW.ps1 +++ b/scripts/installer-lang/zh-TW.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "自動解除安裝 Spotify 的微軟商店版本..." MsSpoti4 = "正在解除安裝 Spotify 的微軟商店版本..." Prem = "針對 Premium 帳號的修改..." - OldV = "發現過時的 Spotify 版本" OldV2 = "您的Spotify {0} 版本已過時,建議更新到 {1}" OldV3 = "需要更新嗎? [Y/N]" - AutoUpd = "自動更新到推薦版本" DelOrOver = "是否要解除安裝目前版本 {0} 或者覆蓋安裝? Y [解除安裝] / N [覆蓋安裝]" - DelOld = "解除安裝舊版 Spotify..." - NewV = "偵測到不支援的 Spotify 版本" + DelSpotify = "正在解除安裝 Spotify..." NewV2 = "您的 Spotify {0} 版本還沒有經過測試,目前穩定的版本是 {1} " NewV3 = "您想要繼續使用 {0} 版本嗎 (可能會出現錯誤)? [Y/N]" Recom = "您想安裝推薦的 {0} 版本嗎? [Y/N]" - DelNew = "解除安裝未經測試的 Spotify 版本..." DownSpoti = "下載並安裝 Spotify" DownSpoti2 = "請稍候..." PodcatsOff = "關閉 Podcasts" diff --git a/scripts/installer-lang/zh.ps1 b/scripts/installer-lang/zh.ps1 index 11c9b4f..e839974 100644 --- a/scripts/installer-lang/zh.ps1 +++ b/scripts/installer-lang/zh.ps1 @@ -16,17 +16,13 @@ MsSpoti3 = "自动卸载 Spotify 的微软商店版本..." MsSpoti4 = "正在卸载 Spotify 的微软商店版本..." Prem = "正在进行针对 Premium 账户的修改..." - OldV = "发现已过时的 Spotify 版本" OldV2 = "您的 Spotify {0} 版本已过时,建议更新到 {1}" OldV3 = "是否需要更新? [Y/N]" - AutoUpd = "自动更新到推荐版本" DelOrOver = "是否要卸载当前版本 {0} 或者覆盖安装? Y [卸载] / N [覆盖安装]" - DelOld = "正在卸载旧的 Spotify..." - NewV = "检测到 Spotify 版本不受到支持" + DelSpotify = "正在卸载 Spotify..." NewV2 = "您的 Spotify {0} 版本没有经过测试,目前的推荐的版本是 {1}" NewV3 = "您想要继续使用 {0} 版本吗 (可能会出现错误)? [Y/N]" Recom = "您想安装推荐的 {0} 版本吗 ? [Y/N]" - DelNew = "正在卸载未经测试的 Spotify 版本..." DownSpoti = "下载并安装 Spotify" DownSpoti2 = "请稍等..." PodcatsOff = "关闭播客"