confOS/windows/spotx.bat

19 lines
760 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
ie4uinit -show
ECHO Raccourci sur le bureau detruit
PAUSE
EXIT /b