confOS/windows/spotx.bat
2023-01-20 04:05:23 +01:00

18 lines
745 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 -new_theme -lyrics_stat purple" ^
" """" | Invoke-Expression"
:: Delete newly created Spotify shortcut
del %HOMEPATH%\Desktop\Spotify.lnk
echo Raccourci sur le Bureau detruit
pause
exit /b