Update Install.ps1

This commit is contained in:
amd64fox
2021-10-29 20:01:00 +03:00
committed by GitHub
parent 6b9a5ca32e
commit 5255ffb452

View File

@@ -140,8 +140,8 @@ if (-not $spotifyInstalled) {
}
if (!(test-path $SpotifyDirectory/chrome_elf.dll.bak)) {
Move-Item $SpotifyDirectory\chrome_elf.dll $SpotifyDirectory\chrome_elf.dll.bak >$null 2>&1
if (!(test-path $SpotifyDirectory/chrome_elf_bak.dll)) {
Move-Item $SpotifyDirectory\chrome_elf.dll $SpotifyDirectory\chrome_elf_bak.dll >$null 2>&1
}
Write-Host 'Patching Spotify...'