diff --git a/unlock.sh b/unlock.sh index 6fa50de..32f8c5a 100644 --- a/unlock.sh +++ b/unlock.sh @@ -459,7 +459,8 @@ action5(){ [ -n "$UNLOCK_MODE_NOW" ] && uninstall TASK="" RESULT_OUTPUT="${T[${L}44]}" -check_dependencies nodejs npm +node -v >/dev/null 2>&1 && check_dependencies nodejs +node -v >/dev/null 2>&1 && check_dependencies npm npm install -g pm2 export_unlock_file pm2 start /etc/wireguard/warp_unlock.sh