16 lines
560 B
Batchfile
16 lines
560 B
Batchfile
@ECHO OFF
|
|
|
|
:: Patch spotify
|
|
PowerShell -Command "[Net.ServicePointManager]::SecurityProtocol =" ^
|
|
"[Net.SecurityProtocolType]::Tls12; Invoke-Expression """"&" ^
|
|
"{ $(Invoke-WebRequest -UseBasicParsing" ^
|
|
"'https://raw.githubusercontent.com/mrpond/BlockTheSpot/master/install.ps1')" ^
|
|
"} -UninstallSpotifyStoreEdition -UpdateSpotify""""
|
|
|
|
:: Delete newly created Spotify shortcut
|
|
DEL %HOMEPATH%\Desktop\Spotify.lnk
|
|
ie4uinit -show
|
|
ECHO Raccourci sur le bureau detruit
|
|
|
|
PAUSE
|
|
EXIT /B
|