kit transfer: requirements fallback to parent (fixed broken line)
This commit is contained in:
1 parent
99fe13020b
commit
130c5e4dd0
1 file changed
+8
-1
@@ -24,7 +24,14 @@ if exist "%UserProfile%\.ollama\models" (
|
||||
echo Модели не найдены в профиле - пропущено
|
||||
)
|
||||
echo [4/4] Python-зависимости -> shared site...
|
||||
"%KIT%\Python312\python.exe" -m pip install --target "%KIT%\site" -r requirements.txt
|
||||
set "REQ=requirements.txt"
|
||||
if not exist "%REQ%" set "REQ=..\requirements.txt"
|
||||
if not exist "%REQ%" (
|
||||
echo requirements.txt не найден ни в delivery, ни в родительской папке
|
||||
if /i not "%~1"=="NOPAUSE" pause
|
||||
exit /b 1
|
||||
)
|
||||
"%KIT%\Python312\python.exe" -m pip install --target "%KIT%\site" -r "%REQ%"
|
||||
echo.
|
||||
echo Готово. Теперь под ЛЮБЫМ пользователем работает start_all.bat
|
||||
pause
|
||||
Reference in new issue
Block a user