mirror of
https://github.com/rbalsleyMSFT/FFU.git
synced 2026-06-14 02:09:35 -06:00
235065322c
Improves consistency in how driver model names and identifiers are processed for different manufacturers (Microsoft, Dell, HP, Lenovo) throughout the codebase. Introduces helper functions to extract base names from display names and construct standardized display names with identifiers in parentheses format. Centralizes the logic for converting driver items to JSON model objects, eliminating code duplication across save and download operations. Enhances validation during driver import and processing to skip invalid entries with missing required fields like MachineType for Lenovo or empty model names. Ensures proper parsing of model names containing parenthetical identifiers (e.g., "Product Name (Type)") and extracts components correctly for each vendor's requirements. Removes obsolete CabRelativePath property from Dell driver handling.