diff --git a/windows/blockthespot.bat b/windows/blockthespot.bat index e628778..f14f434 100644 --- a/windows/blockthespot.bat +++ b/windows/blockthespot.bat @@ -10,7 +10,7 @@ PowerShell -Command "Stop-Process -Name Spotify -ErrorAction SilentlyContinue" :: Patch spotify ECHO Patch spotify avec BlockTheSpot PowerShell -Command "" ^ - "cd $HOME;" ^ + "cd $env:TEMP;" ^ "$url_elf = 'https://github.com/mrpond/BlockTheSpot/releases/latest/download/chrome_elf.zip';" ^ "$dest_elf = Join-Path -Path $PWD -ChildPath 'chrome_elf.zip';" ^ "$spotifyDirectory = Join-Path -Path $env:APPDATA -ChildPath 'Spotify';" ^