Capabilities of the Electron Shell
masterThe Electron shell provides a desktop container that supports the following features:
- Frontend Reuse: Uses the existing frontend at
http://127.0.0.1:19000/?desktop=1. - Mini Page Support: Reuses
desktop-pet/src/minimized.html. - Backend Integration: Automatically launches the Python backend on startup if it is not already running.
- Window Management: Supports switching between the main window and the mini window.
- System Tray: Includes a persistent menu bar/tray icon.
- Tauri Compatibility: Injects a
window.__TAURI__compatibility layer viapreloadto minimize changes to existing frontend logic.