GUI Verbesserungen: Drag & Drop, Verzeichnis-Speicherung und UI-Optimierungen

- Drag & Drop für PDF-Dateien hinzugefügt (mit tkinterdnd2)
- Letzte Verzeichnisse werden in ~/.pdf_to_ics_config.json gespeichert
- Konvertieren-Button kompakter neben 'Alle entfernen' platziert
- Button umbenannt zu 'ICS Datei erstellen'
- Automatische Installation von tkinterdnd2 im Startskript
- .gitignore erweitert um Config-Datei
This commit is contained in:
2026-02-23 11:58:55 +01:00
parent 13c280e929
commit 881fc876e8
4 changed files with 165 additions and 23 deletions

View File

@@ -53,6 +53,12 @@ if ! $PYTHON_VENV -c "import pdfplumber" 2>/dev/null; then
fi
fi
# Versuche tkinterdnd2 zu installieren (optional für Drag & Drop)
if ! $PYTHON_VENV -c "import tkinterdnd2" 2>/dev/null; then
echo "💡 Installiere tkinterdnd2 für Drag & Drop (optional)..."
$PYTHON_VENV -m pip install -q tkinterdnd2 2>/dev/null && echo "✓ Drag & Drop aktiviert" || echo " Drag & Drop nicht verfügbar (kein Problem)"
fi
# Starte die GUI
echo "🎨 Starte GUI..."
if [ -f "$PYTHON_VENV" ]; then