iRedHat commited on
Commit
df37df3
·
verified ·
1 Parent(s): e4075a6

Update Git-Python_embeded.bat

Browse files
Files changed (1) hide show
  1. Git-Python_embeded.bat +5 -1
Git-Python_embeded.bat CHANGED
@@ -3,7 +3,6 @@ setlocal
3
  chcp 65001 > nul
4
  set target_dir=%~dp0
5
  set py=%target_dir%python_embeded\
6
- rem set PATH=%target_dir%git;%target_dir%git\bin;%target_dir%git\libexec;%py%Scripts
7
 
8
  call :ColorText "=============================================================" "Yellow"
9
  call :ColorText ".bat file for installing git/python for ComfyUI by Skiffbox" "Green"
@@ -19,6 +18,11 @@ powershell -command "Expand-Archive -Path '%zipfile%' -DestinationPath '%dest%'"
19
  del /f /q "%target_dir%git.zip"
20
  call :ColorText "Install git complete" "Green"
21
 
 
 
 
 
 
22
  cd %target_dir%
23
  %target_dir%wget.exe -c -q -O python_embeded.zip https://www.python.org/ftp/python/3.11.9/python-3.11.9-embed-amd64.zip
24
  call :ColorText "Download python_embeded.zip" "Green"
 
3
  chcp 65001 > nul
4
  set target_dir=%~dp0
5
  set py=%target_dir%python_embeded\
 
6
 
7
  call :ColorText "=============================================================" "Yellow"
8
  call :ColorText ".bat file for installing git/python for ComfyUI by Skiffbox" "Green"
 
18
  del /f /q "%target_dir%git.zip"
19
  call :ColorText "Install git complete" "Green"
20
 
21
+ set git_path=%target_dir%git\
22
+ set git_bin_path=%git_path%bin\
23
+ set git_libexec_path=%git_path%libexec\
24
+ set PATH=%git_path%;%git_bin_path%;%git_libexec_path%;%py%Scripts\
25
+
26
  cd %target_dir%
27
  %target_dir%wget.exe -c -q -O python_embeded.zip https://www.python.org/ftp/python/3.11.9/python-3.11.9-embed-amd64.zip
28
  call :ColorText "Download python_embeded.zip" "Green"