confOS/windows/spotx.bat

20 lines
793 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
TASKKILL /IM explorer.exe /F
START explorer.exe
PAUSE
EXIT /b