mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-02-20 17:33:18 +00:00
Fix node Windows absolute path
This commit is contained in:
parent
b29cdf1a4b
commit
e23c9f1384
@ -3,7 +3,7 @@
|
||||
:: http://stackoverflow.com/questions/12322308/batch-file-to-check-64bit-or-32bit-os
|
||||
reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" | find /i "x86" > NUL && set ARCH=x86 || set ARCH=x64
|
||||
|
||||
set NODE_PATH="%~dp0\bin\node\node-win32-%ARCH%.exe"
|
||||
set NODE_PATH="%~dp0\node\node-win32-%ARCH%.exe"
|
||||
|
||||
@IF NOT EXIST %NODE_PATH% (
|
||||
set NODE_PATH="node.exe"
|
||||
|
Loading…
x
Reference in New Issue
Block a user