silently pass blockthespot + close spotify
This commit is contained in:
parent
6df673ccc3
commit
e0e74244e8
1 changed files with 2 additions and 1 deletions
|
@ -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 || (
|
||||
|
|
Loading…
Reference in a new issue