From 9817b6eb75ca0097b423d4e9856f19b77592c540 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 23 Jan 2024 10:32:10 +0100 Subject: [PATCH] download in tmp directory instead of home --- windows/blockthespot.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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';" ^