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