How zotero/zotero-standalone-build works
Main Components
a. Build System Core
• Central build scripts (/scripts directory)
• Configuration files (config.sh, *.mozconfig files)
• Platform-specific build processes
b. Platform-Specific Components
• Windows build pipeline (/win)
• macOS build pipeline (/mac)
• Linux build pipeline (/linux)
c. Update System
• Update packaging system (/update-packaging)
• Incremental update generation
• Full update generation
d. Asset Management
• Resource files (/assets)
• Branding elements
• Localization files
• Configuration files
e. Integration Modules
• LibreOffice integration
• Word for Mac integration
• Word for Windows integration
[Input Layer]
Zotero Core Repository --> Build Configuration --> Platform Detection
[Build Process Layer]
• Windows Build Pipeline
Source Code ------> macOS Build Pipeline
• Linux Build Pipeline
[Integration Layer]
Office Integration Modules --> Platform-Specific Builds
[Packaging Layer]
Platform Builds --> Installer Generation --> Update Package Creation
[Distribution Layer]
Final Builds --> Update System --> Deployment
Important Elements to Highlight
• Blue: Core build processes
• Green: Platform-specific components
• Orange: Integration modules
• Purple: Update system
• Gray: Support utilities
b. Connection Types:
Technical Details
• XULRunner dependency
• Mozilla-based architecture
• Platform-specific installer systems (NSIS for Windows)
• Update mechanism infrastructure
Implementation Notes
• Use standardized UML or similar notation
• Version/branch management representation
• Build artifact flow
Key Relationships
• Build script orchestration
• Platform-specific customization flow
• Update package generation process
• Integration module compilation and linking
Remember to include subcomponents like:
• Build script dependencies
• Configuration management
• Resource compilation
• Update package generation
• Platform-specific installer creation
This will create a comprehensive visualization of the build utility's architecture while maintaining clarity about the system's primary purpose of creating distributable Zotero bundles for different platforms.