-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstaller.bat
More file actions
40 lines (35 loc) · 811 Bytes
/
installer.bat
File metadata and controls
40 lines (35 loc) · 811 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
@echo off
setlocal
echo === Running setup scripts... ===
REM Navigate to the scripts\windows directory
cd scripts\windows || (
echo ❌ Error: scripts\windows not found
pause
exit /b 1
)
REM === Check and set up Minecraft server ===
echo [1/4] Running check_minecraft_server.bat...
call check_minecraft_server.bat
IF ERRORLEVEL 1 (
echo ❌ check_minecraft_server.bat failed
pause
goto :EOF
)
REM === Install dependencies ===
echo [2/4] Running install_dependencies.bat...
call install_dependencies.bat
IF ERRORLEVEL 1 (
echo ❌ install_dependencies.bat failed
pause
goto :EOF
)
REM Return to project root (2 levels up)
cd ..\.. || (
echo ❌ Failed to return to project root
pause
goto :EOF
)
echo ✅ All scripts completed successfully.
:EOF
pause
exit /b