-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.bat
More file actions
35 lines (30 loc) · 771 Bytes
/
Copy pathrun.bat
File metadata and controls
35 lines (30 loc) · 771 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
@echo off
REM EuroTaxCalc - Launcher for Windows
REM Get script directory
cd /d "%~dp0"
REM Check if Python is installed
python --version >nul 2>&1
if %errorlevel% neq 0 (
echo ❌ Python is not installed. Please install Python 3.12 or higher.
echo Visit: https://www.python.org/downloads/
echo.
pause
exit /b 1
)
REM Install/verify dependencies (fast if already installed)
echo Checking dependencies...
pip install -r requirements.txt -q
if %errorlevel% neq 0 (
echo ❌ Failed to install dependencies.
pause
exit /b 1
)
REM Run the application
echo 🚀 Starting EuroTaxCalc...
python main.py
REM Keep window open if there was an error
if %errorlevel% neq 0 (
echo.
echo ❌ Application encountered an error.
pause
)