$ account Recol
DLSS Updater is a cross-platform (Windows/Linux) desktop GUI application built with Python and Flet that scans installed game libraries for GPU upscaling and frame-generation DLLs (NVIDIA DLSS, AMD FSR, Intel XeSS, DirectStorage, Streamline), compares installed versions against a manifest hosted in a companion GitHub repository, downloads updated DLLs, and replaces them with automatic backup and per-game rollback. Beyond DLL swapping, it writes per-game NVIDIA DLSS preset overrides through the NvAPI driver-settings API on Windows, generates DXVK-NVAPI launch options for Proton/Wine prefixes on Linux, integrates deeply with Steam (library scanning, exe resolution, app-ID/artwork fetch, FTS5 search over ~207K apps), and self-updates by fetching SHA-256-verified MSI/Flatpak artifacts from GitHub releases. The architecture separates a core engine (scanner, updater, DLL repository cache, SQLite database, backup manager, config, exe resolver) from a Flet UI layer via thin service modules, with a Material Design 3 theming system, hub/games/backups/settings views, slide-panel dialogs, and progressive card rendering. The codebase is explicitly engineered for Python 3.14 free-threaded (GIL-disabled) execution: thread-safe singletons, named anyio CapacityLimiter instances for all blocking I/O, a deterministic background-task registry, typed msgspec structs, and memory-mapped DLL caching in the high-performance batch update pipeline. It ships an unusually thorough regression test suite (~40 test files) that documents historical bugs — Flet API removals, UTC timestamp leaks, locked-file retries, thread-safety under free-threading, download-URL allowlisting, orphaned-backup recovery — plus CodSpeed benchmarks, and security-minded practices (TLS trust pinning, DLL URL allowlists, msiexec-only update path). The dominant risks are ecosystem churn and packaging complexity rather than core code quality: heavy pinning of Flet 1.0.2 with many documented dead/renamed API workarounds, the free-threaded CPython 3.14 requirement, a four-way distribution matrix (MSI via Briefcase, PyInstaller onefile/source, Flatpak, Flathub source build), and acknowledged design debt (a very large MainView coordinator, duplicated color/status helpers, tests coupled to Flet internals). The scanning/update/DLL-repository engine itself is well-isolated, security-conscious, and genuinely reusable.