diff --git a/src/fu-engine.c b/src/fu-engine.c index 7cdffff79..c0d2b0a3a 100644 --- a/src/fu-engine.c +++ b/src/fu-engine.c @@ -1445,6 +1445,12 @@ fu_engine_add_component_to_store (FuEngine *self, AsApp *app) AsApp *app_old = as_store_get_app_by_id (self->store, as_app_get_id (app)); GPtrArray *releases = as_app_get_releases (app); + /* possibly convert the version from 0x to dotted */ + fu_engine_vendor_quirk_release_version (app); + + /* possibly convert the flashed provide to a GUID */ + fu_engine_vendor_fixup_provide_value (app); + /* the app does not already exist */ if (app_old == NULL) { as_store_add_app (self->store, app); @@ -1747,12 +1753,6 @@ fu_engine_get_updates_item_update (FuEngine *self, FuDeviceItem *item) if (app == NULL) return FALSE; - /* possibly convert the version from 0x to dotted */ - fu_engine_vendor_quirk_release_version (app); - - /* possibly convert the flashed provide to a GUID */ - fu_engine_vendor_fixup_provide_value (app); - /* get latest release */ release = as_app_get_release_default (app); if (release == NULL) {