diff --git a/install.sh b/install.sh index a1042b0..aa5eb45 100644 --- a/install.sh +++ b/install.sh @@ -63,6 +63,11 @@ cd "$DOWNLOAD_DIR" || exit npm install --save npm install -g @vercel/ncc npx tsc + +if [[ -n "$NVM_DIR" ]] +then + ln -s "$NVM_DIR/versions/node/$NODE_VERSION_STR/bin/ncc" "/usr/local/bin/ncc" +fi ncc build build/ts/mod-manager.js -o build/flat # Install