pub fn reinstall_from_folder(
folder: &Path,
installed_sha256: &str,
widgets_root: &Path,
before_install: impl FnOnce(),
) -> Result<bool, String>Expand description
Packages a working-tree widget folder and installs it, with the same checks as a catalogue
package, when the package differs from installed_sha256. Calls before_install first.
Returns whether it installed. Development builds only.