Add symlink creation to install file

This commit is contained in:
Kallum Jones 2022-08-09 18:40:16 +01:00
parent 2608f847b6
commit 151d83f1e3
No known key found for this signature in database
GPG Key ID: D7F4589C4D7F81A9

View File

@ -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