confOS/windows/spotx.bat

20 lines
760 B
Batchfile
Raw Normal View History

2023-02-17 17:13:11 +01:00
@ECHO off
2022-12-24 16:09:02 +01:00
2022-12-24 17:28:48 +01:00
:: Patch spotify
2023-02-17 17:13:11 +01:00
PowerShell -Command "&{[Net.ServicePointManager]::SecurityProtocol =" ^
2022-12-24 16:09:02 +01:00
"[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
2023-02-17 17:13:11 +01:00
DEL %HOMEPATH%\Desktop\Spotify.lnk
2023-02-17 17:53:01 +01:00
ie4uinit -show
2023-02-17 17:49:24 +01:00
ECHO Raccourci sur le bureau detruit
2022-12-24 17:28:48 +01:00
2023-02-17 17:13:11 +01:00
PAUSE
EXIT /b