Files
pdf_to_ics/start.cmd

20 lines
424 B
Batchfile

@echo off
REM PDF zu ICS Konverter - Windows Startskript
setlocal enabledelayedexpansion
REM Wechsel ins Skriptverzeichnis
cd /d "%~dp0"
REM Überprüfe, ob venv existiert
if not exist ".venv" (
echo Python-Umgebung wird eingerichtet...
python3 -m venv .venv
call .venv\Scripts\pip.exe install -q pdfplumber icalendar pypdf2 pytz packaging
)
REM Starte das Menü
call .venv\Scripts\python.exe menu.py
pause