mirror of
https://github.com/mrpond/BlockTheSpot.git
synced 2025-05-18 23:33:52 +02:00
13 lines
749 B
Batchfile
13 lines
749 B
Batchfile
@echo off
|
|
|
|
set /p UserInput= "Spicetify will be Installed. If you don't agree, use the BlockTheSpot script, else press 'y' to continue (y/n)? "
|
|
if /i "%UserInput%"=="y" (
|
|
powershell -Command "& {iwr -useb https://raw.githubusercontent.com/spicetify/spicetify-cli/master/install.ps1 | iex}"
|
|
powershell -Command "& {iwr -useb https://raw.githubusercontent.com/spicetify/spicetify-marketplace/main/resources/install.ps1 | iex}"
|
|
powershell -Command "& {[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent.com/mrpond/BlockTheSpot/master/install.ps1' | Invoke-Expression}"
|
|
pause
|
|
) else (
|
|
echo "Patch not installed."
|
|
pause
|
|
exit /b
|
|
)
|