Skip to content

Commit

Permalink
windows fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rvion committed Dec 5, 2023
1 parent 841975d commit 40c6d60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _windows_INSTALL.bat
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SET PNPM_HOME=%CD%\.cushy
SET PNPM_BIN_PATH=%CD%\.cushy\pnpm.exe

:: Check if pnpm is already installed
IF EXIST "%PNPM_HOME%\pnpm" (
IF EXIST "%PNPM_HOME%\pnpm.exe" (
FOR /F "tokens=*" %%i IN ('%PNPM_BIN_PATH% --version') DO SET INSTALLED_PNPM_VERSION=%%i
IF NOT "%INSTALLED_PNPM_VERSION%"=="%PNPM_VERSION%" (
ECHO Updating pnpm from version %INSTALLED_PNPM_VERSION% to %PNPM_VERSION%...
Expand Down
2 changes: 1 addition & 1 deletion _windows_START.bat
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SET PNPM_HOME=%CD%\.cushy
SET PNPM_BIN_PATH=%CD%\.cushy\pnpm.exe

:: Check if pnpm is already installed
IF EXIST "%PNPM_HOME%\pnpm" (
IF EXIST "%PNPM_HOME%\pnpm.exe" (
FOR /F "tokens=*" %%i IN ('%PNPM_BIN_PATH% --version') DO SET INSTALLED_PNPM_VERSION=%%i
IF NOT "%INSTALLED_PNPM_VERSION%"=="%PNPM_VERSION%" (
ECHO Updating pnpm from version %INSTALLED_PNPM_VERSION% to %PNPM_VERSION%...
Expand Down

0 comments on commit 40c6d60

Please sign in to comment.