diff options
author | Richard Hughes <richard@hughsie.com> | 2022-10-08 09:06:13 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2022-10-08 09:06:45 +0100 |
commit | 30c9e5e322da71e5b955cde43e07e60da92ee2af (patch) | |
tree | afada3548ecb8d0c98b8d2a6097189c65219a197 | |
parent | 073936f0cffd2428829f679c54a8333e61328de1 (diff) | |
download | appstream-glib-30c9e5e322da71e5b955cde43e07e60da92ee2af.tar.gz |
trivial: Do not expect screenshots from console apps
-rw-r--r-- | libappstream-glib/as-app-validate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libappstream-glib/as-app-validate.c b/libappstream-glib/as-app-validate.c index 85f4e45..a11c361 100644 --- a/libappstream-glib/as-app-validate.c +++ b/libappstream-glib/as-app-validate.c @@ -790,6 +790,7 @@ as_app_validate_screenshots (AsApp *app, AsAppValidateHelper *helper) if (as_app_get_kind (app) == AS_APP_KIND_FIRMWARE || as_app_get_kind (app) == AS_APP_KIND_DRIVER || as_app_get_kind (app) == AS_APP_KIND_RUNTIME || + as_app_get_kind (app) == AS_APP_KIND_CONSOLE || as_app_get_kind (app) == AS_APP_KIND_ADDON || as_app_get_kind (app) == AS_APP_KIND_LOCALIZATION) number_screenshots_min = 0; |