mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-04-13 20:28:25 +10:00
Del spotify.bak
- Deleting a possibly outdated copy of spotify.bak
This commit is contained in:
@@ -1483,8 +1483,10 @@ if ($block_update) {
|
||||
Write-Host ($lang).UpdateBlocked`n
|
||||
}
|
||||
elseif ($old -match "(?<=wg:\/\/desktop-update\/.)2(\/update)") {
|
||||
Remove-Item $exe_bak -Recurse -Force
|
||||
Start-Sleep -Milliseconds 150
|
||||
if (Test-Path -LiteralPath $exe_bak) {
|
||||
Remove-Item $exe_bak -Recurse -Force
|
||||
Start-Sleep -Milliseconds 150
|
||||
}
|
||||
copy-Item $exe $exe_bak
|
||||
$new = $old -replace "(?<=wg:\/\/desktop-update\/.)2(\/update)", '7/update'
|
||||
[IO.File]::WriteAllText($exe, $new, $ANSI)
|
||||
|
||||
Reference in New Issue
Block a user