pub(crate) async fn check_updates( app: AppHandle, plugins: Vec<PluginInfo>, ) -> Result<Vec<UpdatedPlugin>, String>