Skip to content

Commit de1b51f

Browse files
ComerLaterRbb666
authored andcommitted
Update env-init.bat
将env安装方式修改为从pip insatll bin/srcripts目录安装
1 parent dc1dfc6 commit de1b51f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/bin/env-init.bat

+2-2
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ chcp 437 > nul
9797

9898

9999
:: ============= Activate or Create Python VENV =============
100-
set RTT_ENV_URL=https://github.com/rt-thread/env
100+
set RTT_ENV_URL=%~dp0..\scripts
101101
set VENV=%ENV_ROOT%\.venv
102102
set PYTHON=%ENV_ROOT%\tools\python-3.11.9-amd64\python.exe
103103
echo.
@@ -109,7 +109,7 @@ if not exist %VENV% (
109109
echo Activate Python VENV in %VENV%
110110
call %VENV%\Scripts\activate.bat
111111
echo Install RT-Thread ENV from %RTT_ENV_URL%
112-
pip install git+%RTT_ENV_URL%
112+
pip install %RTT_ENV_URL%
113113
) else (
114114
echo Activate Python VENV in %VENV%
115115
call %VENV%\Scripts\activate.bat

0 commit comments

Comments
 (0)