Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions ARCHITECTURE_1_software_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,15 +104,6 @@ This ensures users always have access to the latest features, bug fixes, and sec
- `BaseWindow` for consistent window behavior ✅
- ❌ **TODO**: No threading - uses callback-based progress updates instead

#### Backend Internet Module

- **File**: `backend_internet.py` ✅ **IMPLEMENTED**
- **Purpose**: Handles actual download and installation operations
- **Key Functions**:
- `get_release_info()`: GitHub API communication
- `download_and_install_on_windows()`: Windows-specific installer handling
- `download_and_install_pip_release()`: Linux/macOS pip installation
- `download_file_from_url()`: File download with progress tracking
- **Actual Dependencies**:
- `requests` with SSL verification ✅
- `subprocess` for Windows batch file execution ✅
Expand All @@ -122,9 +113,6 @@ This ensures users always have access to the latest features, bug fixes, and sec
### Data Flow - Implementation Status

1. **Application Startup Check** ✅ **IMPLEMENTED**
- Main application calls `check_for_software_updates()` during startup
- Function checks current version from `__version__` and gets git hash
- Skippable via `--skip-check-for-updates` command line argument

2. **Version Retrieval and Comparison** ✅ **IMPLEMENTED**
- Calls `get_release_info("/latest", should_be_pre_release=False)` from backend_internet
Expand Down
Loading
Loading