confOS/windows/blockthespot.bat
2023-04-05 12:42:54 +02:00

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