Changed order of UI

This commit is contained in:
HistidineDwarf 2023-02-15 08:11:29 -08:00
parent e0f55200ee
commit eb07109be8
2 changed files with 4 additions and 4 deletions

View File

@ -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)?;

View File

@ -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::<i32>::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.")