File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
ui/desktop/src/platform/windows/bin Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ SET "GOOSE_NODE_DIR=%LOCALAPPDATA%\Goose\node"
66
77REM === Check for previously downloaded portable Node.js ===
88if exist " %GOOSE_NODE_DIR% \npx.cmd" (
9+ SET " PATH = %GOOSE_NODE_DIR% ;!PATH! "
910 " %GOOSE_NODE_DIR% \npx.cmd" %*
1011 exit /b !errorlevel!
1112)
@@ -41,6 +42,7 @@ REM === Download portable Node.js as last resort ===
4142
4243REM Re-check cache (another parallel extension may have just installed it)
4344if exist " %GOOSE_NODE_DIR% \npx.cmd" (
45+ SET " PATH = %GOOSE_NODE_DIR% ;!PATH! "
4446 " %GOOSE_NODE_DIR% \npx.cmd" %*
4547 exit /b !errorlevel!
4648)
@@ -66,6 +68,7 @@ del "%NODE_ZIP%" >nul 2>&1
6668rmdir /s /q " %NODE_EXTRACT% " > nul 2 >& 1
6769
6870if exist " %GOOSE_NODE_DIR% \npx.cmd" (
71+ SET " PATH = %GOOSE_NODE_DIR% ;!PATH! "
6972 echo [Goose] Node.js v%NODE_VERSION% ready. 1 >& 2
7073 " %GOOSE_NODE_DIR% \npx.cmd" %*
7174 exit /b !errorlevel!
You can’t perform that action at this time.
0 commit comments