-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.bat
More file actions
43 lines (36 loc) · 878 Bytes
/
setup.bat
File metadata and controls
43 lines (36 loc) · 878 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
@echo off
echo Screen Recorder - Setup and Test Script
echo ========================================
echo.
REM Check if Node.js is installed
where node >nul 2>nul
if %ERRORLEVEL% NEQ 0 (
echo X Node.js is not installed. Please install Node.js first.
exit /b 1
)
echo √ Node.js is installed
node --version
REM Check if npm is installed
where npm >nul 2>nul
if %ERRORLEVEL% NEQ 0 (
echo X npm is not installed. Please install npm first.
exit /b 1
)
echo √ npm is installed
npm --version
echo.
REM Install dependencies
echo Installing dependencies...
call npm install
if %ERRORLEVEL% EQU 0 (
echo √ Dependencies installed successfully
) else (
echo X Failed to install dependencies
exit /b 1
)
echo.
echo Setup complete! You can now run:
echo npm start - Start the application
echo npm run build - Build for production
echo.
pause