confOS/windows/spotx.bat
2022-12-24 17:28:48 +01:00

18 lines
748 B
Batchfile

@echo off
:: Patch spotify
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"
:: Delete newly created Spotify shortcut
del %HOMEPATH%\Desktop\Spotify.lnk
echo Raccourci sur le Bureau supprimé
pause
exit /b