silently pass blockthespot + close spotify

This commit is contained in:
Mylloon 2023-05-17 19:15:37 +02:00
parent 6df673ccc3
commit e0e74244e8
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -10,7 +10,8 @@ fltmc >NUL 2>&1 || (
:: === Install Spotify ==
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/blockthespot.bat -OutFile '%HOMEPATH%\Documents\Local\blockthespot.bat'"
DEL "%APPDATA%\Spotify"
CMD /c "%HOMEPATH%\Documents\Local\blockthespot.bat"
ECHO Y| CMD /c "%HOMEPATH%\Documents\Local\blockthespot.bat"
PowerShell -Command "Stop-Process -Name Spotify -ErrorAction SilentlyContinue"
:: Start as administrator
PowerShell Start -Verb RunAs '%0' 2>NUL || (