fn write_installed_metadata( root: &Path, manifest: &WidgetManifest, sha256: &str, ) -> Result<(), String>
Writes .installed.json for a staged widget.
.installed.json