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:
Binary file not shown.
|
After Width: | Height: | Size: 678 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 819 KiB |
@@ -0,0 +1,64 @@
|
||||
# Resources für DocuMentor
|
||||
|
||||
Dieses Verzeichnis enthält Ressourcen für den Windows-Build.
|
||||
|
||||
## Icon (icon.ico)
|
||||
|
||||
Das Icon wird verwendet für:
|
||||
- Windows-Executable (DocuMentor.exe)
|
||||
- Inno Setup Installer
|
||||
- Desktop-Verknüpfungen
|
||||
- Start-Menü-Einträge
|
||||
|
||||
### Icon erstellen
|
||||
|
||||
#### Automatisch (Standard-Icon):
|
||||
```bash
|
||||
python create_icon.py
|
||||
```
|
||||
|
||||
Dies erstellt ein einfaches Standard-Icon mit DocuMentor-Branding.
|
||||
|
||||
#### Aus eigenem PNG-Bild:
|
||||
```bash
|
||||
python create_icon.py mein-icon.png
|
||||
```
|
||||
|
||||
Ihr PNG sollte idealerweise:
|
||||
- Mindestens 256x256 Pixel groß sein
|
||||
- Quadratisch sein
|
||||
- Transparenten Hintergrund haben (optional)
|
||||
|
||||
### Icon-Anforderungen
|
||||
|
||||
Das `.ico`-Dateiformat enthält mehrere Auflösungen:
|
||||
- 256x256 (Windows 7+, Taskleiste)
|
||||
- 128x128
|
||||
- 64x64
|
||||
- 48x48 (Standard Desktop-Icon)
|
||||
- 32x32 (Explorer Details)
|
||||
- 16x16 (kleines Icon)
|
||||
|
||||
Das `create_icon.py` Skript erstellt automatisch alle diese Größen.
|
||||
|
||||
## Icon manuell ersetzen
|
||||
|
||||
1. Eigenes Icon als `resources/icon.ico` speichern
|
||||
2. Oder mit einem Online-Tool PNG→ICO konvertieren
|
||||
3. Build-Skript verwendet automatisch die vorhandene Datei
|
||||
|
||||
## Design-Richtlinien
|
||||
|
||||
Falls Sie ein eigenes Icon erstellen:
|
||||
- **Einfach und klar**: Funktioniert auch in kleinen Größen (16x16)
|
||||
- **Professionell**: Passend zum Business-Kontext
|
||||
- **Wiedererkennbar**: DocuMentor steht für Dokumenten-Management
|
||||
- **Kontrast**: Gut sichtbar auf hellem und dunklem Hintergrund
|
||||
|
||||
## Weitere Ressourcen
|
||||
|
||||
In diesem Verzeichnis können später weitere Ressourcen abgelegt werden:
|
||||
- Splash-Screen-Bilder
|
||||
- Toolbar-Icons
|
||||
- Dokumentations-Bilder
|
||||
- etc.
|
||||
@@ -0,0 +1,45 @@
|
||||
Erstelle ein professionelles Icon für eine Desktop-Anwendung namens "DocuMentor".
|
||||
|
||||
Die Anwendung wird verwendet für:
|
||||
- Verwaltung von XSL-Transformationen
|
||||
- Umwandlung von XML-Dokumenten zu PDF-Dateien
|
||||
- Vergleich und Validierung von PDF-Dokumenten
|
||||
|
||||
Design-Anforderungen:
|
||||
|
||||
1. Stil: Minimalistisch, modern, professionell, business-orientiert
|
||||
|
||||
2. Farben:
|
||||
- Hauptfarbe: Blau (#2980B9 oder ähnlich)
|
||||
- Akzentfarbe: Weiß oder helles Grau
|
||||
- Maximal 2-3 Farben insgesamt
|
||||
|
||||
3. Elemente (wähle eine Kombination):
|
||||
- Dokument-Symbol (Papier/Seite)
|
||||
- Transformation/Workflow-Element (Pfeil, Zahnrad)
|
||||
- Optional: Stilisierter Buchstabe "M" oder "D"
|
||||
|
||||
4. Technische Anforderungen:
|
||||
- Quadratisches Format
|
||||
- Einfache, klare Linien
|
||||
- Hoher Kontrast
|
||||
- Muss auch bei 16x16 Pixel noch erkennbar sein
|
||||
- Flat Design (keine 3D-Effekte)
|
||||
- Keine Farbverläufe
|
||||
|
||||
5. Hintergrund:
|
||||
- Transparent ODER
|
||||
- Einfarbig (blau oder weiß)
|
||||
|
||||
6. Referenz-Stil:
|
||||
- Ähnlich wie Microsoft Office Icons
|
||||
- Ähnlich wie Visual Studio Code Icons
|
||||
- Moderne SaaS-Anwendungs-Icons
|
||||
|
||||
Bitte erstelle ein Icon, das:
|
||||
- Professionell und vertrauenswürdig wirkt
|
||||
- Für technische Anwender geeignet ist
|
||||
- Gut in einer Windows-Taskleiste aussieht
|
||||
- Auch als Desktop-Verknüpfung funktioniert
|
||||
|
||||
Format: PNG oder SVG, mindestens 512x512 Pixel
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
@@ -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
|
||||
Reference in New Issue
Block a user