mirror of
https://github.com/mrpond/BlockTheSpot.git
synced 2025-05-10 18:06:39 +02:00
[skip ci] Update BlockTheSpot + Spicetify.bat
Added warning for spicetify installation
This commit is contained in:
parent
8debe7d91f
commit
8ae1fbf0d2
1 changed files with 12 additions and 5 deletions
|
@ -1,6 +1,13 @@
|
|||
@echo off
|
||||
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
|
||||
exit /b
|
||||
|
||||
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
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue