pub fn register_installed_hook_refresh(refresh: fn())
Register the installed shell-hook refresh. The first registration wins.