Skip to content

Commit c09975b

Browse files
committed
wip
1 parent 9529324 commit c09975b

4 files changed

Lines changed: 407 additions & 8 deletions

File tree

src/configure/app.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
mod helper;
22
pub mod ir_enabler;
33
pub mod tool_menu;
4+
pub mod tweaker;
45

56
pub async fn run(terminal: &mut ratatui::DefaultTerminal) -> anyhow::Result<&'static str> {
67
tool_menu::App::new().run(terminal).await

src/configure/app/tool_menu.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
use crate::configure::app::ir_enabler::App as IREnablerApp;
2+
use crate::configure::app::tweaker::App as TweakerApp;
23
use crate::configure::ui::tool_menu::ui;
34

45
use anyhow::Result;
@@ -56,7 +57,7 @@ impl App {
5657
) -> Result<&'static str> {
5758
match self.state {
5859
State::IREnablerSelected => IREnablerApp::new().run(terminal).await,
59-
State::UVCTweakerSelected => anyhow::bail!("UVC Tweaker is not yet implemented"),
60+
State::UVCTweakerSelected => TweakerApp::new().run(terminal).await,
6061
}
6162
}
6263
}

0 commit comments

Comments
 (0)