Build: Vollständige Windows-Distribution-Infrastruktur

Implementiert ein professionelles Build-System für Windows-Benutzer ohne Python-Installation:

PyInstaller-Integration:
- DocuMentor.spec mit automatischer Icon/Version-Einbindung
- Unterstützung für alle PySide6-UI-Dateien und Dependencies
- UPX-Kompression für kleinere Executable-Größe

Icon-System:
- create_icon.py generiert Standard-Icon oder konvertiert PNG zu ICO
- Multi-Size ICO (16x16 bis 256x256) für alle Windows-Kontexte
- Automatische Integration in Build-Prozess
- Prompts für Bild-KIs (Gemini, DALL-E, etc.)

Versionsinformationen:
- create_version_info.py liest Version aus pyproject.toml
- Windows-Datei-Eigenschaften (Rechtsklick → Details)
- Automatische Generierung bei jedem Build

Build-Automatisierung:
- build_windows.py orchestriert gesamten Build-Prozess
- Erstellt Icon und Versionsinformationen automatisch
- Generiert ZIP-Archiv für Distribution
- Cleanup alter Builds

Inno Setup-Integration:
- installer.iss für professionelle Setup.exe
- GUID-Generator (generate_guid.py)
- Desktop-Verknüpfungen und Start-Menü-Integration

Dokumentation:
- BUILD.md - Schnellstart-Anleitung
- docs/windows_distribution.md - Detaillierte Distribution-Dokumentation
- docs/icon_and_version_info.md - Icon- und Versions-System
- resources/icon_prompt.md - KI-Prompts für Icon-Generierung

Dependencies:
- pyinstaller>=6.0.0 für Executable-Erstellung
- pillow>=10.0.0 für Icon-Generierung

Externe Abhängigkeiten (Java, FOP, Saxon, diff-pdf) bleiben separat installierbar.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-04 20:37:30 +01:00
parent 6976d21768
commit bb7cad9204
18 changed files with 1903 additions and 1 deletions
+150
View File
@@ -0,0 +1,150 @@
# Icon-Prompt für Bild-Generierungs-KI
## DocuMentor Logo/Icon
### Deutsche Version (für deutsche KI-Tools)
```
Erstelle ein professionelles, minimalistisches SVG-Icon für eine Business-Software namens "DocuMentor".
Anwendungsbeschreibung:
DocuMentor ist eine Desktop-Anwendung zur Verwaltung und Validierung von XSL-Transformationen. Die Software wird von technischen Redakteuren und Entwicklern verwendet, um XML-Dokumente in PDF-Dateien zu transformieren und diese zu vergleichen.
Design-Anforderungen:
- Stil: Professionell, modern, technisch, business-orientiert
- Farben: Blaue Töne (z.B. #2980B9, #3498DB) kombiniert mit neutralen Grautönen oder Weiß
- Elemente: Kombination aus Dokumenten-Symbol und Transformations-/Workflow-Elementen
- Einfachheit: Muss auch in sehr kleinen Größen (16x16 Pixel) erkennbar sein
- Klare Linien und hoher Kontrast
Symbolik-Vorschläge:
- Ein Dokument mit Transformations-Pfeilen
- Gestapelte/verschachtelte Dokumente (XML → XSLT → PDF)
- Stilisiertes "D" oder "M" für DocuMentor
- Workflow-Diagramm mit Dokumenten-Symbolen
- Dokument mit Zahnrad (Verarbeitung/Transformation)
Format: Vektorgrafik (SVG), quadratisch (1:1 Verhältnis), 512x512 Pixel oder größer
Hintergrund: Transparent oder einfarbig (blau/weiß)
Stil-Referenzen: Microsoft Office Icons, Adobe Creative Cloud Icons, moderne SaaS-Anwendungen
```
### Englische Version (für internationale KI-Tools wie DALL-E, Midjourney, Stable Diffusion)
```
Create a professional, minimalist SVG icon for business software called "DocuMentor".
Application Description:
DocuMentor is a desktop application for managing and validating XSL transformations. The software is used by technical writers and developers to transform XML documents into PDF files and compare them.
Design Requirements:
- Style: Professional, modern, technical, business-oriented
- Colors: Blue tones (e.g., #2980B9, #3498DB) combined with neutral grays or white
- Elements: Combination of document symbol and transformation/workflow elements
- Simplicity: Must be recognizable even at very small sizes (16x16 pixels)
- Clean lines and high contrast
Symbolism Suggestions:
- A document with transformation arrows
- Stacked/nested documents (XML → XSLT → PDF)
- Stylized "D" or "M" for DocuMentor
- Workflow diagram with document symbols
- Document with gear icon (processing/transformation)
Format: Vector graphic (SVG), square (1:1 ratio), 512x512 pixels or larger
Background: Transparent or solid color (blue/white)
Style References: Microsoft Office icons, Adobe Creative Cloud icons, modern SaaS applications
Additional Instructions:
- Flat design, not 3D
- No gradients or complex shadows
- Maximum 3 colors
- Geometric shapes preferred
- Professional and trustworthy appearance
```
### Alternativer Prompt (detaillierter für KIs wie ChatGPT mit DALL-E)
```
Design a minimalist icon for "DocuMentor" - a professional XML/XSL transformation management software.
Concept: A clean, modern icon that combines:
1. A document/page symbol (representing XML/PDF files)
2. An element suggesting transformation or workflow (arrows, gears, or connecting lines)
3. Professional color scheme: Primary blue (#2980B9) with white/gray accents
Requirements:
- Vector style, flat design
- Must work well at 16x16, 48x48, and 256x256 pixels
- High contrast for visibility
- No text, icon only
- Square format (512x512px minimum)
- Transparent background preferred
Style inspiration: Think Microsoft Office 365 icons, VS Code icons, or modern productivity app icons - clean, professional, instantly recognizable.
Technical constraints:
- Simple enough to work as a favicon
- Clear silhouette when shown in monochrome
- Distinctive enough to stand out in a taskbar or dock
```
## Prompt für spezifische Konzepte
### Konzept 1: Dokument mit Transformation
```
A minimalist icon showing a document page with a curved arrow pointing to another document, symbolizing transformation. Blue (#2980B9) and white color scheme. Flat design, professional, suitable for business software. SVG style, 512x512px, transparent background.
```
### Konzept 2: Gestapelte Dokumente
```
An icon with three overlapping document sheets in a cascading arrangement, representing XML to XSL to PDF transformation workflow. Modern flat design, blue gradient (#3498DB to #2980B9), white accents. Professional business software icon. 512x512px SVG format.
```
### Konzept 3: Dokument + Zahnrad
```
A clean icon combining a document page with a small gear/cog symbol in the corner, representing document processing. Minimalist design, blue (#2980B9) on white background. Professional style like Microsoft Office icons. 512x512px, vector art, high contrast.
```
### Konzept 4: Stilisiertes "M"
```
A stylized letter "M" for "Mentor" integrated with document/page elements. Modern, geometric, professional. Blue (#2980B9) color scheme. Suitable for small sizes. Flat design, vector style, 512x512px, transparent background.
```
## Verwendung
1. Wähle einen der Prompts oben
2. Füge ihn in eine Bild-Generierungs-KI ein:
- **DALL-E 3** (ChatGPT Plus): Englischer Prompt empfohlen
- **Midjourney**: Englischer Prompt, evtl. kürzer
- **Adobe Firefly**: Deutscher oder englischer Prompt
- **Stable Diffusion**: Englischer Prompt mit detaillierten Tags
- **Leonardo.ai**: Englischer Prompt
3. Lade das generierte Bild herunter (idealerweise als PNG)
4. Konvertiere zu ICO:
```bash
uv run python create_icon.py generiertes-icon.png
```
## Tipps für beste Ergebnisse
- **Iteriere**: Generiere mehrere Varianten
- **Einfachheit**: Betone "minimalist", "simple", "clean"
- **Größe**: Teste das Icon in verschiedenen Größen
- **Kontrast**: Achte auf gute Sichtbarkeit auf hellem und dunklem Hintergrund
- **Professionalität**: Vermeide zu verspielte oder kindliche Designs
## Nachbearbeitung
Falls die KI kein perfektes SVG erstellt:
1. PNG exportieren (hohe Auflösung, mind. 512x512px)
2. Mit Inkscape oder Adobe Illustrator zu SVG konvertieren
3. Oder direkt als PNG verwenden und mit `create_icon.py` konvertieren