# Tools## appstream.rbCollects **desktop application** appdata from CI install dirs and as a fallbackfrom Git.Requires valid screenshots and icons to be available!Limited functionality with Git fallback. All software should be CI'd really.Twiddles the following dirs:-`../appdata/` appdata cache. contains json blobs converted from appdata-`../icons/` icons cache. contains icons named from their appid (org.kde.foo.svg)-`../thumbnails` thumbnails cache. scaled to 540 width. subdir per appid# appstream_mkindex.rbIters `../appdata/` and generates an `../appdata/index.json` mapping categorynames to appids. The icons for the categories are generated by appstream.rband in `../icons/categories/` as downcased version of the name.# old_apps_compat.rbIters `../apps/` and generates compatibility rigging to preserve names fromv1 of the backend, this allows old app urls to remain working.