From eb07109be80231ffa5a222b7d33ff78e17c187ac Mon Sep 17 00:00:00 2001 From: HistidineDwarf Date: Wed, 15 Feb 2023 08:11:29 -0800 Subject: [PATCH] Changed order of UI --- src/main.rs | 3 --- src/ui.rs | 5 ++++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 7c31703..3562e92 100644 --- a/src/main.rs +++ b/src/main.rs @@ -20,9 +20,6 @@ async fn main() -> anyhow::Result<()> { println!("5. Use the dislodge option to get your files back from the downloaded video"); println!("6. PROFIT. Enjoy being a leech on a huge corporation's servers"); - println!("\nI coudln't figure out a weird bug that happens if you set the size to something that isn't a factor of the height"); - println!("If you don't want the files you put in to come out as the audio/visual equivalent of a pipe bomb, account for the above bug\n"); - ui::summon_gooey().await?; // let bytes = etcher::rip_bytes("src/tests/Baby.wav")?; // let binary = etcher::rip_binary(bytes)?; diff --git a/src/ui.rs b/src/ui.rs index f5a87a3..6d6c74b 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -32,9 +32,9 @@ fn embed_path() -> anyhow::Result<()> { //Should use enums let presets = vec![ - "Maximum efficiency", "Optimal compression resistance", "Paranoid compression resistance", + "Maximum efficiency", "Custom" ]; @@ -102,6 +102,9 @@ fn embed_path() -> anyhow::Result<()> { .prompt() .unwrap(); + println!("\nI coudln't figure out a weird bug that happens if you set the size to something that isn't a factor of the height"); + println!("If you don't want the files you put in to come out as the audio/visual equivalent of a pipe bomb, account for the above bug\n"); + let size = CustomType::::new("What size should the blocks be ?") .with_error_message("Please type a valid number") .with_help_message("Bigger blocks are more resistant to compression, I recommend 2-5.")