use blockthespot instead of spotx on windows

This commit is contained in:
Mylloon 2023-03-31 17:33:49 +02:00
parent 18ec8a4612
commit 18783d7f73
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 7 additions and 5 deletions

View file

@ -1,3 +1,5 @@
:: NOT USED ANYMORE
@ECHO off
:: Patch spotify

View file

@ -88,9 +88,6 @@ winget install -he Microsoft.VCRedist.2015+.x64
:: Install WSL
wsl --install
:: Install Spotify
PowerShell -Command "&{[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}; """"& { $((Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent.com/aMKDIR64fox/SpotX/main/Install.ps1').Content)} -confirm_uninstall_ms_spoti -confirm_spoti_recomended_over -podcasts_on -cache_on -block_update_off"""" | Invoke-Expression"
:: === Firefox configuration ==
"%ProgramFiles%\Mozilla Firefox\firefox.exe"
TASKKILL /im firefox.exe /F
@ -117,11 +114,14 @@ PowerShell -Command "Install-Module -Name PSWindowsUpdate -Force"
:: === Scripts ==
MKDIR %HOMEPATH%\Documents\Local
PowerShell -Command "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/confOS/raw/branch/main/windows/ctmpf.bat -OutFile '%HOMEPATH%\Documents\Local\ctmpf.bat'"
PowerShell -Command "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/confOS/raw/branch/main/windows/spotx.bat -OutFile '%HOMEPATH%\Documents\Local\spotx.bat'"
PowerShell -Command "Invoke-WebRequest -Uri https://raw.githubusercontent.com/mrpond/BlockTheSpot/master/simple.bat -OutFile '%HOMEPATH%\Documents\Local\blockthespot.bat'"
PowerShell -Command "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/confOS/raw/branch/main/windows/update.bat -OutFile '%HOMEPATH%\Documents\Local\update.bat'"
PowerShell -Command "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/confOS/raw/branch/main/windows/fix_nvidia_wsl.bat -OutFile '%HOMEPATH%\Documents\Local\fix_nvidia_wsl.bat'"
:: === OpenTabletDriver ==
:: === Install Spotify ==
CMD /c "%HOMEPATH%\Documents\Local\blockthespot.bat"
:: === Install OpenTabletDriver ==
:: Download
PowerShell -Command "Invoke-WebRequest -Uri https://opentabletdriver.net/Release/Download/OpenTabletDriver.win-x64.zip -OutFile '%HOMEPATH%\Downloads\OpenTabletDriver.win-x64.zip'"
:: Extract