-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlaunch.bat
More file actions
23 lines (20 loc) · 768 Bytes
/
Copy pathlaunch.bat
File metadata and controls
23 lines (20 loc) · 768 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@echo off
:: Job Application GUI Launcher for Windows
set SCRIPT_DIR=%~dp0
cd /d "%SCRIPT_DIR%"
:: Set virtual environment path
if exist "%SCRIPT_DIR%venv_gui\Scripts\python.exe" (
set PYTHON_EXE="%SCRIPT_DIR%venv_gui\Scripts\python.exe"
) else if exist "%SCRIPT_DIR%.venv\Scripts\python.exe" (
set PYTHON_EXE="%SCRIPT_DIR%.venv\Scripts\python.exe"
) else (
set PYTHON_EXE=python
)
echo Launching Job Application Web App...
echo Python: %PYTHON_EXE%
%PYTHON_EXE% -m streamlit run app_web.py --theme.base="dark" --theme.primaryColor="#F43F5E" --theme.backgroundColor="#0E1117" --theme.secondaryBackgroundColor="#1a1c24" --theme.textColor="#FAFAFA" %*
if %ERRORLEVEL% neq 0 (
echo.
echo Application exited with error code %ERRORLEVEL%
pause
)