mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
Allow GOOSE_NODE_DIR override in batch file (#7422)
Signed-off-by: God-damnit-all <53661808+God-damnit-all@users.noreply.github.com>
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
@ECHO OFF
|
||||
SETLOCAL EnableDelayedExpansion
|
||||
|
||||
if not defined GOOSE_NODE_DIR (
|
||||
SET "GOOSE_NODE_DIR=%LOCALAPPDATA%\Goose\node"
|
||||
)
|
||||
SET "NODE_VERSION=22.14.0"
|
||||
SET "GOOSE_NODE_DIR=%LOCALAPPDATA%\Goose\node"
|
||||
|
||||
REM === Check for previously downloaded portable Node.js (matching version) ===
|
||||
if exist "%GOOSE_NODE_DIR%\node-v%NODE_VERSION%.installed" (
|
||||
|
||||
Reference in New Issue
Block a user