-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstelmod-debug.bat
More file actions
54 lines (45 loc) · 1.37 KB
/
stelmod-debug.bat
File metadata and controls
54 lines (45 loc) · 1.37 KB
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
44
45
46
47
48
49
50
51
52
53
54
@echo off
REM ============================================================================
REM stelmod-debug - Windows Launcher (Minimal Menu)
REM ============================================================================
cd /d "%~dp0"
REM If command provided, run it directly
if NOT "%1"=="" (
powershell -ExecutionPolicy Bypass -File "%~dp0stelmod-debug.ps1" %*
goto :eof
)
REM No command - show interactive menu
:menu
cls
echo.
echo ================================================================
echo stelmod-debug - Stellaris Mod Log Analyzer
echo ================================================================
echo.
echo [1] Setup - Configure for your mod (FIRST TIME)
echo [2] Monitor - LIVE log watcher (2 windows)
echo [3] Help - Show all commands
echo [0] Exit
echo.
echo ================================================================
echo.
set /p choice="Enter choice (0-3): "
if "%choice%"=="1" goto setup
if "%choice%"=="2" goto monitor
if "%choice%"=="3" goto help
if "%choice%"=="0" goto :eof
echo Invalid choice. Try again.
timeout /t 2 >nul
goto menu
:setup
powershell -ExecutionPolicy Bypass -File "%~dp0stelmod-debug.ps1" setup
pause
goto menu
:monitor
powershell -ExecutionPolicy Bypass -File "%~dp0stelmod-debug.ps1" monitor
pause
goto menu
:help
powershell -ExecutionPolicy Bypass -File "%~dp0stelmod-debug.ps1" help
pause
goto menu