How bottlesdevs/bottles works
Bottles is a Linux desktop application for running Windows software in isolated Wine environments. Users create or select a bottle, configure its Windows and runtime settings, install dependencies or components, then launch and manage programs through the GUI or CLI. The backend also supports backups, versioning, game-library tracking and UMU integration. The graph covers these documented product areas, but source excerpts are incomplete; edges are limited to relationships visible in the excerpts or SOURCE INDEX, with uncertain integrations omitted.
Main entry points: manager.py Bottle manager · executor.py Wine executor · main.py Desktop GUI · library.py Game library
Components 21
User interfaces
- Desktop GUI
bottles/frontend/main.py - Command line
bottles/frontend/cli/cli.py - Main window
bottles/frontend/windows/window.py
Bottle management
- Bottle manager
bottles/backend/managers/manager.py - Bottle configuration
bottles/backend/models/config.py - Catalog repositories
bottles/backend/managers/repository.py - Installers and dependencies
bottles/backend/managers/installer.py - Runtime components
bottles/backend/managers/component.py - Backup and versioning
bottles/backend/managers/backup.py
Windows runtime
- Wine executor
bottles/backend/wine/executor.py - Wine command setup
bottles/backend/wine/winecommand.py - Wine boot
bottles/backend/wine/wineboot.py - Wine debugging
bottles/backend/wine/winedbg.py
Catalogs and games
- Game library
bottles/backend/managers/library.py - Playtime tracking
bottles/backend/managers/playtime.py - SteamGridDB artwork
bottles/backend/managers/steamgriddb.py
UMU integration
- UMU game repository
bottles/backend/umu/repository.py - UMU executor
bottles/backend/umu/executor.py
Other components
- User
- Wine
- Remote catalogs
Connections 21
- User → Desktop GUI: uses
README.md - User → Command line: uses
bottles/frontend/cli/cli.py - Desktop GUI → Main window: opens
bottles/frontend/main.py - Desktop GUI → Bottle manager: initializes
bottles/frontend/main.py - Command line → Bottle manager: calls
bottles/frontend/cli/cli.py - Main window → Bottle manager: uses
bottles/frontend/windows/window.py - Bottle manager → Bottle configuration: loads and updates
bottles/backend/managers/manager.py - Bottle manager → Installers and dependencies: uses
bottles/backend/managers/manager.py - Bottle manager → Runtime components: uses
bottles/backend/managers/manager.py - Bottle manager → Wine executor: launches
- Wine executor → Wine: runs programs
README.md - Wine executor → Wine command setup: uses
bottles/backend/wine/executor.py - Wine executor → Wine debugging: uses
bottles/backend/wine/executor.py - Wine executor → Wine boot: uses
bottles/frontend/widgets/library.py - Bottle manager → Catalog repositories: loads catalogs
bottles/backend/managers/manager.py - Bottle manager → Backup and versioning: manages
- Bottle manager → Game library: updates
bottles/backend/managers/manager.py - Game library → SteamGridDB artwork: fetches artwork
bottles/backend/managers/library.py - Game library → Playtime tracking: tracks
- UMU game repository → Remote catalogs: reads game data
- UMU executor → Wine: runs Windows games