From 5255ffb452bd46f6cd0f0254ef449b4508a87df8 Mon Sep 17 00:00:00 2001 From: amd64fox <62529699+amd64fox@users.noreply.github.com> Date: Fri, 29 Oct 2021 20:01:00 +0300 Subject: [PATCH] Update Install.ps1 --- Install.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Install.ps1 b/Install.ps1 index 28bb900..874223e 100644 --- a/Install.ps1 +++ b/Install.ps1 @@ -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...'