modhicon;modmanifest;usecrate::IconHandle;pub(crate)fnget_icon(path: String)->Option<IconHandle>{// Try manifest-based extraction first (works for UWP/MSIX packaged apps)
ifletSome(handle)=manifest::get_icon(&path){returnSome(handle);}// Fall back to ExtractIconExW (works for regular executables)
hicon::get_icon(&path)}