@echo off
title WhatsApp Engine Installer

echo ================================
echo WhatsApp Node.js Setup
echo ================================

REM الانتقال إلى المجلد الحالي حيث يوجد الباتش
cd /d %~dp0

REM تهيئة مشروع npm
echo Initializing npm project...
call npm init -y

REM تثبيت المكتبات المطلوبة
echo Installing packages...
call npm install whatsapp-web.js qrcode-terminal

echo ================================
echo Installation Completed
echo ================================
pause
