Skip to content

Commit

Permalink
👷 tui: add mirrors ranking
Browse files Browse the repository at this point in the history
  • Loading branch information
vnepogodin committed May 1, 2024
1 parent b96d645 commit 5924e59
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/tui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2014,7 +2014,7 @@ void mount_partitions() noexcept {
void configure_mirrorlist() noexcept {
const std::vector<std::string> menu_entries = {
"Edit Pacman Configuration",
//"Rank mirrors by speed",
"Rank mirrors",
"Back",
};

Expand All @@ -2027,9 +2027,11 @@ void configure_mirrorlist() noexcept {
tui::edit_pacman_conf();
screen.Resume();
break;
/*case 1:
SPDLOG_ERROR("Implement me!");
break;*/
case 1:
screen.Suspend();
utils::exec("cachyos-rate-mirrors"sv, true);
screen.Resume();
break;
default:
screen.ExitLoopClosure()();
break;
Expand Down

0 comments on commit 5924e59

Please sign in to comment.