mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-19 21:57:51 +00:00
Comment source of Windows arch snippet
This commit is contained in:
parent
8263c23390
commit
fe9e76cdff
@ -1,5 +1,6 @@
|
||||
@echo off
|
||||
|
||||
:: 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"
|
||||
|
Loading…
Reference in New Issue
Block a user