GUI-Version mit Tkinter hinzugefügt
- gui.py: Grafische Benutzeroberfläche - start_gui.sh/cmd: Startskripte für GUI - GUI_README.md: Installationsanleitung für Tkinter - Features: PDF-Verwaltung, Fortschrittsanzeige, Live-Log
This commit is contained in:
34
start_gui.cmd
Normal file
34
start_gui.cmd
Normal file
@@ -0,0 +1,34 @@
|
||||
@echo off
|
||||
REM PDF zu ICS Konverter - GUI Startskript (Windows)
|
||||
|
||||
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 --upgrade-deps
|
||||
if errorlevel 1 (
|
||||
python -m venv .venv --upgrade-deps
|
||||
)
|
||||
)
|
||||
|
||||
REM Überprüfe, ob Abhängigkeiten installiert sind
|
||||
.venv\Scripts\python.exe -c "import pdfplumber" 2>nul
|
||||
if errorlevel 1 (
|
||||
echo 📚 Installiere Abhängigkeiten...
|
||||
call .venv\Scripts\python.exe -m pip install -q pdfplumber icalendar pypdf2 pytz
|
||||
echo ✓ Abhängigkeiten installiert
|
||||
)
|
||||
|
||||
REM Starte die GUI
|
||||
echo 🎨 Starte GUI...
|
||||
call .venv\Scripts\pythonw.exe gui.py
|
||||
|
||||
if errorlevel 1 (
|
||||
echo.
|
||||
echo ❌ Fehler beim Starten der GUI
|
||||
pause
|
||||
)
|
||||
Reference in New Issue
Block a user