From bbcf23899e237e4b392b8a94400b0151566b6b34 Mon Sep 17 00:00:00 2001 From: Sashanoraa Date: Sat, 26 Apr 2025 20:05:08 -0400 Subject: [PATCH] Remove the "install-*" prefix from the install commands --- installer/src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/installer/src/main.rs b/installer/src/main.rs index 4559fbc..1a40633 100644 --- a/installer/src/main.rs +++ b/installer/src/main.rs @@ -17,9 +17,9 @@ struct Args { #[derive(Subcommand, Debug)] enum Command { /// Install rayhunter on the Orbic Orbic RC400L. - InstallOrbic(InstallOrbic), + Orbic(InstallOrbic), /// Install rayhunter on the TP-Link M7350. - InstallTplink(InstallTpLink), + Tplink(InstallTpLink), } #[derive(Parser, Debug)] @@ -41,8 +41,8 @@ async fn run_function() -> Result<(), Error> { let Args { command } = Args::parse(); match command { - Command::InstallTplink(tplink) => tplink::main_tplink(tplink).await.context("Failed to install rayhunter on the TP-Link M7350. Make sure your computer is connected to the hotspot using USB tethering or WiFi. Currently only Hardware Revision v3 is supported.")?, - Command::InstallOrbic(_) => orbic::install().await.context("Failed to install rayhunter on the Orbic RC400L")?, + Command::Tplink(tplink) => tplink::main_tplink(tplink).await.context("Failed to install rayhunter on the TP-Link M7350. Make sure your computer is connected to the hotspot using USB tethering or WiFi. Currently only Hardware Revision v3 is supported.")?, + Command::Orbic(_) => orbic::install().await.context("Failed to install rayhunter on the Orbic RC400L")?, } Ok(())