confOS/windows/spotx.bat

21 lines
795 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:15:59 +01:00
ECHO Raccourci sur le bureau supprimé
2023-02-17 17:13:11 +01:00
TASKKILL /IM explorer.exe /F
START explorer.exe
2022-12-24 17:28:48 +01:00
2023-02-17 17:13:11 +01:00
PAUSE
EXIT /b