@echo off
echo AutoBackups - Launching with System Tray...
echo.

REM Activate conda environment
call conda activate autobackups

REM Check if activation was successful
if errorlevel 1 (
    echo Error: Could not activate conda environment 'autobackups'
    echo Please make sure the environment exists and conda is installed.
    pause
    exit /b 1
)

REM Launch the application with system tray
python launch_tray.py

REM Pause to see any error messages
if errorlevel 1 (
    echo.
    echo Application exited with an error.
    pause
)
