diff --git a/windows/spotx.bat b/windows/spotx.bat index d8e5c13..194dcfc 100644 --- a/windows/spotx.bat +++ b/windows/spotx.bat @@ -1,5 +1,6 @@ @echo off +:: Patch spotify powershell -Command "&{[Net.ServicePointManager]::SecurityProtocol =" ^ "[Net.SecurityProtocolType]::Tls12}; """"& {" ^ "$((Invoke-WebRequest -UseBasicParsing" ^ @@ -9,5 +10,9 @@ powershell -Command "&{[Net.ServicePointManager]::SecurityProtocol =" ^ "-hide_col_icon_off -left_sidebar_on -lyrics_stat 1" ^ " """" | Invoke-Expression" +:: Delete newly created Spotify shortcut +del %HOMEPATH%\Desktop\Spotify.lnk +echo Raccourci sur le Bureau supprimé + pause exit /b