private void Button_Click_Remove(object sender, RoutedEventArgs e) { _vm.Plugin.IsUserActionRequired = false; //AcceptedPlugins.Remove(_vm.Plugin.PluginUUID); OnAcceptOrDecline?.Invoke(sender, e); _vm.UninstallPlugin(); }
private void Button_Click_Remove(object sender, RoutedEventArgs e) { _vm.IsUserActionRequired = false; AcceptedPlugins.Remove(_vm.PluginUUID); MinerPluginsManager.RemovePlugin(_vm.PluginUUID); OnAcceptOrDecline?.Invoke(sender, e); }
private async void Button_Click_Install(object sender, RoutedEventArgs e) { if (_vm.Load.IsInstalling) { return; } _vm.Plugin.IsUserActionRequired = false; //AcceptedPlugins.Add(_vm.Plugin.PluginUUID); OnAcceptOrDecline?.Invoke(sender, e); await _vm.ConfirmInstallOrUpdatePlugin(); }
private void Button_Click_Install(object sender, RoutedEventArgs e) { _vm.IsUserActionRequired = false; AcceptedPlugins.Add(_vm.PluginUUID); OnAcceptOrDecline?.Invoke(sender, e); }