From ad8f622ffe562facbef6f6ddb8ea37e11f7b8845 Mon Sep 17 00:00:00 2001 From: he3als Date: Sat, 16 Mar 2024 11:58:46 +0000 Subject: [PATCH] fix(de-ame): ChoicePrompt starts from 0, not 1 --- src/Actions/Deameliorate.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Actions/Deameliorate.cs b/src/Actions/Deameliorate.cs index 4633aa8..eb24c3c 100644 --- a/src/Actions/Deameliorate.cs +++ b/src/Actions/Deameliorate.cs @@ -28,13 +28,13 @@ Although user data should be kept, we strongly recommend making backups of any important user data. Continue? (Y/N): " - }.Start().Value == 2) return true; + }.Start().Value == 1) return true; Program.Frame.Clear(); (_mountedPath, _, _winVer, _, _) = SelectWindowsImage.GetMediaPath(); if (_mountedPath == null) return false; - if (new ChoicePrompt {Text = $"\r\nYour Windows image is {_winVer}. Continue? (Y/N): "}.Start().Value == 2) + if (new ChoicePrompt {Text = $"\r\nYour Windows image is {_winVer}. Continue? (Y/N): "}.Start().Value == 1) return true; var fc = Console.ForegroundColor;