Check for missing mountvol /S

This commit is contained in:
Lauri Kenttä
2025-02-22 14:02:02 +02:00
parent 785307c0e2
commit 320e154457
2 changed files with 21 additions and 1 deletions

View File

@@ -300,6 +300,9 @@ public class Setup {
}
if (Esp.Location == null && !Esp.Find() && !Esp.Mount() && !Batch) {
WriteLine("EFI System Partition was not found.");
if (Esp.MountvolESPNotSupported) {
WriteLine("Your computer doesn't support mountvol /S. You have to mount ESP manually.");
}
WriteLine("Press enter to exit, or give ESP path here: ");
string s = Console.ReadLine();
Log($"User input: {s}");