From a1a1e102d5d5e8823307c61520aa68c304eed687 Mon Sep 17 00:00:00 2001 From: Aaron Veil <70171475+anddea@users.noreply.github.com> Date: Sun, 28 Aug 2022 16:42:22 +0300 Subject: [PATCH] Update sp.ps1 --- src/sp.ps1 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/sp.ps1 b/src/sp.ps1 index 240f2b4..5464822 100644 --- a/src/sp.ps1 +++ b/src/sp.ps1 @@ -1,5 +1,11 @@ +if (Test-Path -Path $env:APPDATA/Spotify/Apps) { + Set-Location $env:APPDATA/Spotify/Apps +} else { + Write-Host "Install Spotify from the website!`nhttps://www.spotify.com/download/" -ForegroundColor Red + break +} + Write-Host "Modifying Spotify!" -Set-Location $env:APPDATA/Spotify/Apps Copy-Item xpui.spa xpui.bak Add-Type -Assembly 'System.IO.Compression.FileSystem'