Delete pygit.bat
Browse files
pygit.bat
DELETED
|
@@ -1,35 +0,0 @@
|
|
| 1 |
-
@echo off
|
| 2 |
-
setlocal
|
| 3 |
-
cd /d %~dp0
|
| 4 |
-
set target_dir=%~dp0
|
| 5 |
-
chcp 65001 > nul
|
| 6 |
-
set custom_n=%target_dir%ComfyUI\custom_nodes
|
| 7 |
-
set py=%target_dir%python\
|
| 8 |
-
call :ColorText "==============================================================" "Yellow"
|
| 9 |
-
call :ColorText ".bat file for installing portable python+git by TetaZina" "Green"
|
| 10 |
-
call :ColorText "telegram @partiaComfynistov or https://t.me/partiaComfynistov" "blue"
|
| 11 |
-
call :ColorText "==============================================================" "red"
|
| 12 |
-
curl --ssl-no-revoke -L -o git.zip https://huggingface.co/happyneishon/git/resolve/main/git.zip
|
| 13 |
-
set "zipfile=%target_dir%git.zip"
|
| 14 |
-
set "dest=%target_dir%git"
|
| 15 |
-
powershell -command "Expand-Archive -Path '%zipfile%' -DestinationPath '%dest%'"
|
| 16 |
-
del /f /q "%target_dir%git.zip"
|
| 17 |
-
curl --ssl-no-revoke -L -o python.zip https://github.com/Nestorchik/python_embeded/releases/download/python_embeded/python_embeded.zip
|
| 18 |
-
set "zipfile1=%target_dir%python.zip"
|
| 19 |
-
set "dest1=%target_dir%python"
|
| 20 |
-
powershell -command "Expand-Archive -Path '%zipfile1%' -DestinationPath '%dest1%'"
|
| 21 |
-
del /f /q "%target_dir%python.zip"
|
| 22 |
-
set PATH=%target_dir%git\git\bin;%target_dir%git\git\libexec\;%target_dir%python;%target_dir%\python\Library\bin;%target_dir%python\Scripts
|
| 23 |
-
call :ColorText "==============================================================" "Yellow"
|
| 24 |
-
call :ColorText ".bat file for installing portable python+git by TetaZina" "Green"
|
| 25 |
-
call :ColorText "telegram @partiaComfynistov or https://t.me/partiaComfynistov" "blue"
|
| 26 |
-
call :ColorText "==============================================================" "red"
|
| 27 |
-
exit /b
|
| 28 |
-
|
| 29 |
-
:ColorText
|
| 30 |
-
setlocal
|
| 31 |
-
set text=%~1
|
| 32 |
-
set color=%~2
|
| 33 |
-
powershell -NoProfile -ExecutionPolicy Bypass -Command "Write-Host '%text%' -ForegroundColor %color%"
|
| 34 |
-
exit /b
|
| 35 |
-
pause
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|