diff --git a/dist-build/emscripten.sh b/dist-build/emscripten.sh index 4ef2768d..53883aae 100755 --- a/dist-build/emscripten.sh +++ b/dist-build/emscripten.sh @@ -150,7 +150,7 @@ EOM fi if test "$NODE" = ""; then - for candidate in /usr/local/bin/node /usr/local/bin/nodejs /usr/bin/node /usr/bin/nodejs node nodejs; do + for candidate in bun nodejs node /usr/local/bin/bun /usr/local/bin/nodejs /usr/local/bin/node; do case $($candidate --version 2>&1) in #( v*) NODE=$candidate