confOS/windows/spotx.bat

21 lines
793 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" ^
2023-01-20 04:05:23 +01:00
"-hide_col_icon_off -new_theme -lyrics_stat purple" ^
2022-12-24 16:09:02 +01:00
" """" | Invoke-Expression"
2022-12-24 17:28:48 +01:00
:: Delete newly created Spotify shortcut
del %HOMEPATH%\Desktop\Spotify.lnk
2023-01-20 04:05:23 +01:00
echo Raccourci sur le Bureau detruit
2023-02-17 17:06:46 +01:00
taskkill /IM explorer.exe /F
start explorer.exe
2022-12-24 17:28:48 +01:00
2022-12-24 16:09:02 +01:00
pause
exit /b