forked from roots/phyllomeos
Key improvements made: Enhanced find_fedora_iso function: Takes dish_name as parameter to understand which version to select Parses dish names to identify "rawhide" or numeric versions like "43", "44", "45" Matches ISO files containing both "Fedora-Everything" and the version information Falls back gracefully if no exact match is found Backward compatibility: Maintained the original find_fedora_iso_old function for fallback behavior If no matching ISO is found based on dish name, falls back to existing behavior Smart version matching: For virtual-desktop_43 → looks for ISO containing "43" For virtual-desktop_rawhide → looks for ISO containing "Rawhide" Handles edge cases with proper fallbacks Improved robustness: Proper error handling for missing directories Ensures matched files actually exist and are files (not directories) Handles multiple version patterns