confOS/windows/spotx.bat

19 lines
748 B
Batchfile
Raw Normal View History

2022-12-24 16:25:14 +01:00
@echo off
2022-12-24 16:09:02 +01:00
2022-12-24 17:28:48 +01:00
:: Patch spotify
2022-12-24 16:09:02 +01:00
powershell -Command "&{[Net.ServicePointManager]::SecurityProtocol =" ^
"[Net.SecurityProtocolType]::Tls12}; """"& {" ^
"$((Invoke-WebRequest -UseBasicParsing" ^
"'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content)}" ^
"-confirm_uninstall_ms_spoti -confirm_spoti_recomended_over" ^
"-podcasts_on -cache_on -block_update_off -start_spoti" ^
"-hide_col_icon_off -left_sidebar_on -lyrics_stat 1" ^
" """" | Invoke-Expression"
2022-12-24 17:28:48 +01:00
:: Delete newly created Spotify shortcut
del %HOMEPATH%\Desktop\Spotify.lnk
echo Raccourci sur le Bureau supprimé
2022-12-24 16:09:02 +01:00
pause
exit /b