Fixed an odd issue where installer prompted to install node, even though it is installed.
This commit is contained in:
parent
b8c0eb4be8
commit
fce376923a
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# As there is no Linux support, this script assumes OS X as the host system.
|
# As there is no Linux support, this script assumes OS X as the host system.
|
||||||
|
|
||||||
command -v node > /dev/null || echo 'Node not found, please download it!' && open 'https://nodejs.org/en/' && sleep 5 && exit
|
command -v node > /dev/null || (echo 'Node not found, please download it!' && open 'https://nodejs.org/en/' && sleep 5 && exit)
|
||||||
|
|
||||||
node index.js
|
node index.js
|
||||||
exit
|
exit
|
||||||
|
|
Loading…
Reference in New Issue