download in tmp directory instead of home

This commit is contained in:
Mylloon 2024-01-23 10:32:10 +01:00
parent c5b652c90f
commit 9817b6eb75
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -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';" ^