confOS/windows/blockthespot.bat

17 lines
560 B
Batchfile
Raw Normal View History

2023-04-05 12:36:58 +02:00
@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
2023-04-05 12:42:54 +02:00
EXIT /B