Installs an AppStream MetaInfo, AppStream Metadata Collection or AppStream Icon tarball file to the right place on the filesystem.
Please note that this function does almost no validation and may guess missing values such as icon sizes and origin names. Ensure your metadata is good before installing it.
location |
the MetadataLocation, e.g. as_metadata_location_cache |
filename |
the full path of the file to install |
origin |
the origin to use for the installation, or null |
destdir |
the destdir to use, or null |
true for success, false if error is set |