Adam-Kay / Batch-Encoder

Command line batch file encoder using FFmpeg
GNU General Public License v3.0
0 stars 0 forks source link

Program checks for update even if didn't ask for it. #27

Closed Adam-Kay closed 11 months ago

Adam-Kay commented 11 months ago

Bug Description

If you just press Enter when the program asks you if you want to update, it will go ahead and do it.

Steps to Reproduce

  1. Start program
  2. Enter Y
  3. Enter nothing and just press Enter
  4. Program proceeds despite lack of confirmation

Expected behavior

Program should ask again

Potential Cause

Re-using the %CONFIRMATION% variable between prompts. If you enter nothing, the first prompt's Y value spills over. Rename the damn variables.