ReactFlow前端拖拽模型与参数配置功能MVP
This commit is contained in:
1 parent
70c91ed019
commit
d3b99304fb
2001 files changed
+349044
-548
No files matched your search
@@ -0,0 +1,24 @@
|
||||
@echo off
|
||||
|
||||
rem Ensure this Node.js and npm are first in the PATH
|
||||
set "PATH=%APPDATA%\npm;%~dp0;%PATH%"
|
||||
|
||||
setlocal enabledelayedexpansion
|
||||
pushd "%~dp0"
|
||||
|
||||
rem Figure out the Node.js version.
|
||||
set print_version=.\node.exe -p -e "process.versions.node + ' (' + process.arch + ')'"
|
||||
for /F "usebackq delims=" %%v in (`%print_version%`) do set version=%%v
|
||||
|
||||
rem Print message.
|
||||
if exist npm.cmd (
|
||||
echo Your environment has been set up for using Node.js !version! and npm.
|
||||
) else (
|
||||
echo Your environment has been set up for using Node.js !version!.
|
||||
)
|
||||
|
||||
popd
|
||||
endlocal
|
||||
|
||||
rem If we're in the Node.js directory, change to the user's home dir.
|
||||
if "%CD%\"=="%~dp0" cd /d "%HOMEDRIVE%%HOMEPATH%"
|
||||
Reference in new issue
Block a user