File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11mod helper;
22pub mod ir_enabler;
33pub mod tool_menu;
4+ pub mod tweaker;
45
56pub async fn run ( terminal : & mut ratatui:: DefaultTerminal ) -> anyhow:: Result < & ' static str > {
67 tool_menu:: App :: new ( ) . run ( terminal) . await
Original file line number Diff line number Diff line change 11use crate :: configure:: app:: ir_enabler:: App as IREnablerApp ;
2+ use crate :: configure:: app:: tweaker:: App as TweakerApp ;
23use crate :: configure:: ui:: tool_menu:: ui;
34
45use 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}
You can’t perform that action at this time.
0 commit comments